Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing VFP Arrays by Reference
Message
 
To
07/04/2000 15:53:32
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00357086
Message ID:
00357642
Views:
13
VFP will not be able to receive non-VFP arrays from other objects (such as one written in VC++) nor will other objects know what a VFP array looks like. You have one of two choices to pass this type of information around. First, you can start passing XML strings around rather than array structures or comma delimited lists. This is by far the most flexible and easiest to work with. Second, you could pass the array to the DLL in debug mode and examine the structure that it actually receives.


>Will a VFP array pass by reference to a non-VFP COM object?
>
>I have a COM written in ATL VC++. With or without Comarray() and SYS(2333,1) I can't get the array to pass sucessfully by reference.

Michael G. Emmons
memmons@nc.rr.com
Previous
Reply
Map
View

Click here to load this message in the networking platform