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

Click here to load this message in the networking platform