Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending VFP arrays to/from C++?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00258437
Message ID:
00259876
Views:
19
>Hi Michael,
>
>>Of course, the problem with this approach is that I haven't figured out a way to either manipulate a VFP array in VC++ by building it byte-by-byte or returning a structure to VFP that wouldn't incur too much overhead when converting into a VFP array.
>
>Are we talking about VFP 6 here? In this case, insert CHR(13) in the VC++ program after each array element and in VFP use ALINES() to read the entire string into the array. This way, all you have to pass between VC++ and VFP is a string by reference.
>
>Christof

Christof,

Hey..that's a darned good idea. :) I hadn't considered using alines to create an array from the formatted string. Thanks!

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

Click here to load this message in the networking platform