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