Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C or C++ dll
Message
From
17/05/2016 06:11:03
 
 
To
17/05/2016 05:56:47
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Miscellaneous
Thread ID:
01636486
Message ID:
01636488
Views:
147
>Assuming i have a C dll.(or a C++).
>this dll in my knowledge cannot be embed on vfp object browser to see its methods/events.its not a classic com dll.
>how can i communicate from vfp with this dll and use all its expected functions.
>-a visual example code can be usefull.
>
>thank you in advance.

You need the method signature as it is used in C or C++ and create declare dll statements accordingly. If the method signature has veeeery complex structs, instead of mapping those into a vfp string, you could create a C vfp fll, which builds the structs and calls out to the dll.

HTH

thomas
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform