General information
Category:
Windows API functions
Title:
RegOpenKey & RegDeleteKey
Hi all
I am trying to Create, Open, Close & Delete a registry entry. So far I've been able to Create + Close one.
DECLARE Integer RegCreateKey IN Win32API ;
Integer lnHKey, String @lcSubKey, Integer @lnNewResult
lnHKey = -2147483646 && HKEY_LOCAL_MACHINE
lcSubKey = "System\\CurrentControlSet\\Control\\ComputerName\\ComputerName\\MyNewReg"
lnSuccess = RegCreateKey(lnHKey, @lcSubKey, @lnNewResult)
DECLARE Integer RegCloseKey IN Win32API ;
Integer nHKey
lnHKey = lnNewResult
lnSuccess = RegCloseKey(lnHKey)
But from there the other 2 don't seen to work.
Could someone point me to where I could get the correct way to use them.
TIA
Mike
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only