Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DLL created in VFP won't load in VFP
Message
 
To
06/06/2003 11:08:02
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00797280
Message ID:
00797474
Views:
13
If you have VFP classlib called MyDll, is loaded into the memory at the time of CREATEOBJECT, VFP will try to create MyClass from the classlib and not from the DLL. See if that is the case...I can't think of any other reason of this error.....

>DLL's that I have created in VFP7/8 work fine with other applications (as they were origionally intended), but when I try to instantiate them in VFP with "ox = CreateObject("MyDll.MyClass") I get a "ClassFactory cannot supply the requested class" error. I have confirmed the "MyDll.MyClass" is the ProgID for this DLL in the system registry. I haven't been able to locate any helpful info concerning this error.
>
>Thanks,
>Joe
- Jayesh
Previous
Reply
Map
View

Click here to load this message in the networking platform