Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DLL created in VFP won't load in VFP
Message
 
À
06/06/2003 11:08:02
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00797280
Message ID:
00797474
Vues:
14
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform