Commit 3b5a8707 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

odbccp32: Look in LOCAL_MACHINE for the driver.

parent 69265646
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment