Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CreateObject
Message
From
20/07/2010 08:19:30
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01473070
Message ID:
01473086
Views:
55
Thanks Sergey.

>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
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Previous
Reply
Map
View

Click here to load this message in the networking platform