Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CreateObject
Message
 
 
À
20/07/2010 07:41:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01473070
Message ID:
01473074
Vues:
122
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform