changeset 26:34192c501dfe

Слияние
author Ritor1
date Fri, 18 Jan 2013 20:15:44 +0600
parents a32303569c42 (diff) 352b15291822 (current diff)
children 7fb7febacb46
files mm7_2.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mm7_2.cpp	Fri Jan 18 17:30:54 2013 +0600
+++ b/mm7_2.cpp	Fri Jan 18 20:15:44 2013 +0600
@@ -13005,7 +13005,7 @@
   hKey = 0;
   phkResult = 0;
   cbData = 4;
-  if ( !RegOpenKeyExA(HKEY_LOCAL_MACHINE, "SOFTWARE", 0, 0x2001Fu, &hKey) )
+  if ( !RegOpenKeyExA(HKEY_LOCAL_MACHINE, "SOFTWARE", 0, KEY_READ|KEY_WOW64_32KEY, &hKey) )
   {
     if ( !RegCreateKeyExA(hKey, "New World Computing", 0, "", 0, 0xF003Fu, 0, &phkResult, &dwDisposition) )
     {