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:
00259846
Views:
15
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform