Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing Struct Parameters to Dll
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00763728
Message ID:
00763737
Vues:
15
40 bytes -- that can be quite possible. Very often structures are used in both directions: for input and for output. Your external function can use extra buffer part to return some data.

Eight WORDS in SYSTEMTIME structure occupy exactly 16 bytes. Though if you allocate more space in a string buffer, in 99.99% cases it will make no harm. Give'em even 512 bytes, what's a deal :)

Check a code sample: System and Local Time values
at http://www.news2news.com/vfp/?example=64&function=95

On this site you can find how to use much more complex structures.

* * *
If you provide more details on your external function and structures I probably can be more helpful.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform