You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2010-02-18.18:05:17.251>created_at=<Date2009-04-25.12:50:37.619>labels= ['type-bug']
title='RegOpenKeyEx key failed on Vista 64Bit with return 2'updated_at=<Date2010-02-18.18:05:17.249>user='https://bugs.python.org/makursi'
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.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: