[New-bugs-announce] [issue5839] RegOpenKeyEx key failed on Vista 64Bit with return 2
Makursi
report at bugs.python.org
Sat Apr 25 14:50:38 CEST 2009
New submission from Makursi <mak at aitag.com>:
I have installed 2.6.2 source(32bit) on Vista 64 bit.
The function RegOpenKeyEx fails with returns "2".
If I change the function to
rc=RegOpenKeyEx(keyBase,
keyBuf, /* subkey */
0, /* reserved */
KEY_READ | KEY_WOW64_64KEY,
&newKey);
it works fine. I have checked this in the debug build with my 32 bit
C++ application. UAC is not enabled on my machine.
I hope the issue is fixed with the next version of python.
Regards
Manfred
----------
messages: 86497
nosy: makursi
severity: normal
status: open
title: RegOpenKeyEx key failed on Vista 64Bit with return 2
type: behavior
versions: Python 2.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5839>
_______________________________________
More information about the New-bugs-announce
mailing list