Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem calling a DLL function
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00166967
Message ID:
00166971
Views:
26
>I'm trying to call a function in a DLL provided by a third party using VFP5. The sample code provided includes implementations for C++, VB and Delphi but none for VFP. The sample code for some of the function calls reference structures (instead of Short, Long, String) as the parameter type. Knowing nothing about structures, I'm stuck.
>
>Anybody ever handled something like this before ?

All the time. Typically, strings are used to construct structures; things get a bit more complicated where the structure contains embedded pointers to other things. If you post the typedef for the structure in C and the C prototype for the function, we might be able to help.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform