Mercurial > mm7
changeset 25:a32303569c42
18.01.13 (64 bit)
author | Ritor1 |
---|---|
date | Fri, 18 Jan 2013 20:15:30 +0600 |
parents | 5070f4343e0e |
children | 34192c501dfe |
files | mm7_2.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mm7_2.cpp Fri Jan 18 00:00:20 2013 +0600 +++ b/mm7_2.cpp Fri Jan 18 20:15:30 2013 +0600 @@ -13027,7 +13027,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) ) {