Commit fc321b3e authored by captainwong's avatar captainwong

winreg sucks, not woring on wow64

parent c08333ef
...@@ -549,7 +549,7 @@ inline void RegKey::Open( ...@@ -549,7 +549,7 @@ inline void RegKey::Open(
LONG retCode = ::RegOpenKeyExW( LONG retCode = ::RegOpenKeyExW(
hKeyParent, hKeyParent,
subKey.c_str(), subKey.c_str(),
REG_NONE, // default options KEY_READ | KEY_WOW64_64KEY, // default options
desiredAccess, desiredAccess,
&hKey &hKey
); );
......
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