Author | Topic: RegClass under Win7 | |
---|---|---|
![]() | AUGE_ OHR | RegClass under Win7 on Sat, 02 Jun 2012 03:07:32 +0200 hi, i try to read where Programm is installed HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData oReg1 := XbpReg():NEW(cSuch) IF oReg1:Status() this works fine. next i get a List of Subkeys aList1 := oReg1:KeyList() the last Subkey is what i want nMax := LEN(aList1) cSuch += "\"+aList1[nMax] now open Subkey oReg2 := XbpReg():NEW(cSuch) IF oReg2:Status() this work on XP but not under Win7 |