Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking for DLL Registration Before Using CreateObject(
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00766669
Message ID:
00767014
Views:
20
>George,
>
>When I test your first line of code...
>
>oReg = CreateObject("Registry")
>
>I get a "Class definition 'Registry' not found". What am I missing?
>
>Thanks,
>
Ben,

If you've got the class library version, the following line would be used:
SET CLASSLIB TO HOME() + '\ffc\registry.vcx'
If the prg based class is used
SET PROCEDURE TO HOME() + '\ffc\registry.prg'
would be used. Check the FFC folder. If recollection serves, the vcx version was introduced in 6.0.

This should solve the problem.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform