mirror of
https://github.com/reactos/wine.git
synced 2025-03-03 18:28:58 +00:00
odbccp32: Look in LOCAL_MACHINE for the driver.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com> Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6926564677
commit
3b5a8707e6
@ -260,7 +260,7 @@ static HMODULE load_config_driver(const WCHAR *driver)
|
||||
DWORD size = 0, type;
|
||||
HKEY hkey;
|
||||
|
||||
if ((ret = RegOpenKeyW(HKEY_CURRENT_USER, odbcini, &hkey)) == ERROR_SUCCESS)
|
||||
if ((ret = RegOpenKeyW(HKEY_LOCAL_MACHINE, odbcini, &hkey)) == ERROR_SUCCESS)
|
||||
{
|
||||
HKEY hkeydriver;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user