Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADDOBJECT AND DLL
Message
De
08/04/2000 01:19:57
 
 
À
07/04/2000 16:41:30
Martin Thibault
Minière Québec Cartier
Port-Cartier, Québec, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00357107
Message ID:
00357180
Vues:
16
>I created an OLE Automation DLL that has one public OLE class
>FOle is my DLL
>Test is an class in the DLL
>
>1- If I use the command following
>
>Thisform.AddObject("oTest", "FOle.Test")
>
>I receives the message
>"Object class is invalid for this container."
>----------------------------------------------
>2- If I use the command following
>
>Thisform.AddObject("oTest","olecontrol,"FOle.Test")
>
>I receives the message
>
>"OLE error code 0x80004002; Unknown COM status code"
>
>Thanks
>Eric

VFP COM objects do not have an ActiveX interface, they cannot be "contained". Use CREATEOBJECT() instead.
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform