Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to pass struct to API?
Message
 
 
À
05/01/2004 07:25:52
Dorin Vasilescu
ALL Trans Romania
Arad, Roumanie
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00863805
Message ID:
00863807
Vues:
30
>Hi all
>It is possible to pass a "struct" to an API function if it has another "struct" as a member ?
>In C/C++ I've seen that is simple.
>How to do something like this in VFP ?
>
>
>TIA

Dorin,
You can do this and the easiest way would be to implement Christof Lange's Struct class (http://www.foxite.com/downloads/struct.zip) or get Ed Rauh's ClsHeap class (File#9482). Examples come with both.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform