Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RegOpenKeyEx key failed on Vista 64Bit with return 2 #50089

Closed
makursi mannequin opened this issue Apr 25, 2009 · 3 comments
Closed

RegOpenKeyEx key failed on Vista 64Bit with return 2 #50089

makursi mannequin opened this issue Apr 25, 2009 · 3 comments
Labels
type-bug An unexpected behavior, bug, or error

Comments

@makursi
Copy link
Mannequin

makursi mannequin commented Apr 25, 2009

BPO 5839
Nosy @loewis, @amauryfa

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 = None
closed_at = <Date 2010-02-18.18:05:17.251>
created_at = <Date 2009-04-25.12:50:37.619>
labels = ['type-bug']
title = 'RegOpenKeyEx key failed on Vista 64Bit with return 2'
updated_at = <Date 2010-02-18.18:05:17.249>
user = 'https://bugs.python.org/makursi'

bugs.python.org fields:

activity = <Date 2010-02-18.18:05:17.249>
actor = 'loewis'
assignee = 'none'
closed = True
closed_date = <Date 2010-02-18.18:05:17.251>
closer = 'loewis'
components = []
creation = <Date 2009-04-25.12:50:37.619>
creator = 'makursi'
dependencies = []
files = []
hgrepos = []
issue_num = 5839
keywords = []
message_count = 3.0
messages = ['86497', '88858', '99518']
nosy_count = 3.0
nosy_names = ['loewis', 'amaury.forgeotdarc', 'makursi']
pr_nums = []
priority = 'normal'
resolution = 'out of date'
stage = None
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue5839'
versions = ['Python 2.6']

@makursi
Copy link
Mannequin Author

makursi mannequin commented Apr 25, 2009

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

@makursi makursi mannequin added the type-bug An unexpected behavior, bug, or error label Apr 25, 2009
@amauryfa
Copy link
Member

amauryfa commented Jun 4, 2009

I don't understand what "2.6.2 source(32bit)" is.
Did you install a binary distribution (.msi), or did you compile the
source files?

@loewis
Copy link
Mannequin

loewis mannequin commented Feb 18, 2010

Closing because of lack of feedback.

@loewis loewis mannequin closed this as completed Feb 18, 2010
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

1 participant