Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ClassFactory couldn´t find required class. Why?
Message
De
04/04/2002 09:13:24
 
 
À
04/04/2002 06:22:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00640767
Message ID:
00640843
Vues:
15
>Hi,
>
>I have created a DLL from fox, based on "FORM" and that contains an object winsock ("Winsock.ocx").
>
> When attempt to create an instance (createobject("myclass")) returns the following error:
> "OLE 0x80040111 ClassFactory couldn´t find required class"

If you are trying to instantiate the COM class in VFP, you have to specify the dll name then the class name, like...

oX = createobject('MyDLLName.MyClassName')

BOb
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform