Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rick Strahl's Registry Class
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Rick Strahl's Registry Class
Miscellaneous
Thread ID:
00628780
Message ID:
00628780
Views:
63
I downloaded Rick's class, and I'm using it to determine the location
of a DLL I created in VFP:


** Instantiate Rick's class
SET PROCEDURE TO registry.prg
oReg = CREATEOBJECT('registry')

** instantiate the VFP DLL and get the GUID
oDll = CREATEOBJECT("mydll.myclass")
cGuid = ADDBS(COMCLASSINFO(oDll, 4))

** Form the parameter values
nHKey = HKEY_CLASSES_ROOT
cSubkey = "\CLSID\" + cGuid + "InProcServer32"
cEntry = "(default)"

? oReg.ReadRegistryString(nHKey, cSubkey, cEntry)


The ReadRegistryString function is returning NULL, and the
parameters are correct. The entry IS in the registry.

The installed path of the DLL is in the "(Default)" key.




.
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Next
Reply
Map
View

Click here to load this message in the networking platform