Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
**'C' function call?
Message
De
28/12/1996 04:55:24
 
 
À
27/12/1996 13:28:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00016079
Message ID:
00016096
Vues:
39
>>Can VFP call 'C' functions from the library?
>>If yes, how do I go about setting the environment
>>and calling it? (eg. INCLUDE stdio.h , etc)
>
>Yes. You have to use DECLARE command form 32-bit DLLs, or FOXTOOLS.FLL, RegFn,CallFn for 16-bit DLLs.
>You can include any file into form (click form/include file menu in form designer), but it's more reliable to open this file in text editor, check needed variables=values (which you are going to pass calling a function), and use real values instead of these variables.

you can also translate the .h file to foxpro format and #include it

Arnon
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform