Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CreateObject
Message
 
 
To
20/07/2010 07:41:57
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01473070
Message ID:
01473074
Views:
123
This message has been marked as the solution to the initial question of the thread.
The CREATEOBJECT() uses an IDispatch interface. The CREATEOBJECTEX() called with an empty second parameter uses the default interface (IID) of the COM server.


>I am testing a 3rd party DLL. When I use CREATEOBJECT() to instantiate an object this works but any subsequent attempt to access any of the objects methods or properties fails with message "0x8002801d - library is not registered". I then found on the web a solution to use CREATEOBJECTEX() instead and leave the second/third parameters as blank i.e. "". This now works properly. My question is can someone just explain what is going on here?
>
>Thanks
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform