HI,
I found a problem reading register key on windows 7.
My python application works fine in windows XP and in some win7 machines.

I use a simple procedure, as the following one:
>>> import _winreg
>>> h1 = _winreg.ConnectRegistry(None, _winreg.HKEY_LOCAL_MACHINE)
>>> key = r'SOFTWARE\Python\PythonCore\2.6\InstallPath'
>>> h2 = _winreg.OpenKey(h1, key, 0, _winreg.KEY_ALL_ACCESS)

It returns "Access Denied" and I suppose the problem is the user
configuration.
Does someone know which settings of UAC (User Access Control) I have to
change?

Thanks!

Mauro
_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to