If a DSN is System wide, we need to write to the HKEY_LOCAL_MACHINE
part of the registry not HKEY_CURRENT_USER which it's currently doing.
--
v6: odbccp32: SQLWritePrivateProfileStringW simplify creating registry keys.
odbccp32: SQLWritePrivateProfileStringW check for existing DSN first.
https://gitlab.winehq.org/wine/wine/-/merge_requests/5812
This fixes various corner cases.
This is not motivated by any particular application. However, the server-side
code seems at least as simple as the existing client-side code, is more
accurate, and removes a potential source of complication from any future work
involving asyncs.
--
v4: server: Reimplement mailslots using server-side I/O.
ntdll: Respect the "options" argument to NtCreateMailslotFile.
https://gitlab.winehq.org/wine/wine/-/merge_requests/6045
If a DSN is System wide, we need to write to the HKEY_LOCAL_MACHINE
part of the registry not HKEY_CURRENT_USER which it's currently doing.
--
v5: odbccp32: SQLWritePrivateProfileStringW simplify creating registry keys.
odbccp32: SQLWritePrivateProfileStringW check for existing DSN first.
odbccp32: SQLGetPrivateProfileString use ConfigMode to determine key retrieval.
https://gitlab.winehq.org/wine/wine/-/merge_requests/5812