Information générale
Catégorie:
COM/DCOM et OLE Automation
Titre:
Pass objet by reference into a method
Hi
I created my objets
public oAcomba,oChaterIndex
oAcomba = CREATEOBJECT("AcoX0116.AcombaX")
oCharterIndex = CREATEOBJECT("AcoX0116.CharterKey")
* note After this I tested some methods without Objet in parameter
* The method firstKey that I need to use
* int FirstKey(InterfaceStructureIndexPtr, int Index)
iError= oAcomba.firstKey(oCharterIndex,1) && dont work by value
iError= oAcomba.firstKey(&oCharterIndex,1) && dont work by reference
the both return hex code error from the DLL
Is it possible to pass objet by reference into a method(from a DLL ) ?
thank you
Roger
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement