Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADDOBJECT AND DLL
Message
From
08/04/2000 01:19:57
 
 
To
07/04/2000 16:41:30
Martin Thibault
Minière Québec Cartier
Port-Cartier, Quebec, Canada
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00357107
Message ID:
00357180
Views:
14
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform