Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem calling a DLL function
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00166967
Message ID:
00166971
Vues:
29
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform