26 Aug
2024
26 Aug
'24
12:36 p.m.
Hans Leidekker (@hans) commented about dlls/odbccp32/odbccp32.c:
RegCloseKey(hkey); }
- if ((ret = RegCreateKeyW(HKEY_LOCAL_MACHINE, L"SOFTWARE\\ODBC\\ODBC.INI", &hkey)) == ERROR_SUCCESS) + if (config_mode == ODBC_SYSTEM_DSN) + hkeyroot = HKEY_LOCAL_MACHINE; + + if ((ret = RegCreateKeyW(hkeyroot, L"SOFTWARE\\ODBC\\ODBC.INI", &hkey)) == ERROR_SUCCESS)
This still doesn't handle ODBC_BOTH_DSN. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6333#note_79996