Google is your friend. Of the many references, he first for "WindowsError: [Error 5] Access is denied" probably answers your question ;-)...
On Wed, Jul 23, 2008 at 6:57 AM, siddhartha veedaluru < [EMAIL PROTECTED]> wrote: > Hi, > > Tried the following snippet: > > import os, sys > from _winreg import * > KEY_WOW64_64KEY = 256 > regHandle = > OpenKey(HKEY_LOCAL_MACHINE,"SOFTWARE\Myapp\Base",0,KEY_WOW64_64KEY) > val = QueryValue(regHandle,"nPLATTYPE") > print val > Got the following error > > Traceback (most recent call last): > File "C:\Precert\test.py", line 4, in <module> > regHandle = > OpenKey(HKEY_LOCAL_MACHINE,"SOFTWARE\MyApp\Base",0,KEY_WOW64_64KEY) > WindowsError: [Error 5] Access is denied > > Please help,. > > regards > Sid > > _______________________________________________ > python-win32 mailing list > python-win32@python.org > http://mail.python.org/mailman/listinfo/python-win32 > >
_______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32