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:
00258452
Views:
17
Hi Michael,

>Has anyone done any work with sending VFP arrays to a dll or returning C++ arrays from a dll to VFP? Ideally what I would like to do is pass a VFP array to my dll and have it populate the array for me. Almost as good would be to have the dll pass back a C array and allow VFP to manipulate it instead. Has anyone done something similar?

Are you talking about an OLE DLL (ie. a COM object), or a plain procedural DLL? In case of the latter, check out my structure class (STRUCT.ZIP here in the file library). It contains some sample about passing arrays to the Windows API and vice versa.

Christof
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform