Postby ConvertFromOldNGs » Fri Aug 07, 2009 12:05 pm
by cnwdad1 >> Tue, 5 Feb 2002 3:15:06 GMT
Michael,
Set up the following External Functions for te advapi32 library:
a) cnEcRegCloseKey(hKey : Integer) : Integer is RegCloseKey in advapi32;
b) cnEcRegOpenKeyA(hKey:Integer; sKey:String[256]; result:Integer output):Integer is RegOpenKeyA in advapi32;
c) cnEcRegOpenKeyW(hKey:Integer; sKey:String[256]; result:Integer output):Integer is RegOpenKeyW in advapi32;
d) cnEcRegQueryValueExA(hKey:Integer; sKey:String[256] io; reserved:Integer; type:Integer; data:Binary[256] io; length:Integer io):Integer is RegQueryValueExA in advapi32;
e) cnEcWinRegQueryValueExW(hKey:Integer; sKey:String[256] io; reserved:Integer; type:Integer; data:Binary[256] io; length:Integer io):Integer is RegQueryValueExW in advapi32;
Once you've done this, take a look at the attached method to see how they're used.
regards,
darrell.
-
Attachments
-
- 2118_1.mth
- (3.6 KiB) Downloaded 119 times