Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pass objet by reference into a method
Message
De
08/09/2002 19:06:52
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Pass objet by reference into a method
Divers
Thread ID:
00698095
Message ID:
00698095
Vues:
64
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
Fil
Voir

Click here to load this message in the networking platform