Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pass objet by reference into a method
Message
From
08/09/2002 19:06:52
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Pass objet by reference into a method
Miscellaneous
Thread ID:
00698095
Message ID:
00698095
Views:
63
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
Next
Reply
Map
View

Click here to load this message in the networking platform