[PythonCE] ~Name not defined" error

alexandre.delattre at telecom-bretagne.eu alexandre.delattre at telecom-bretagne.eu
Fri Jul 11 18:25:15 CEST 2008


ConnectRegistry seems not to be implemented in PythonCE

However you can still replace:

aReg = ConnectRegistry(None,HKEY_LOCAL_MACHINE)

aKey = OpenKey(aReg, r"SOFTWARE\Microsoft\Windows\CurrentVersion\Run")

by:

aKey = OpenKey(HKEY_LOCAL_MACHINE,  
r"SOFTWARE\Microsoft\Windows\CurrentVersion\Run")



More information about the PythonCE mailing list