Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
When a DLL function expects a 'structure'
Message
 
 
À
05/06/1998 19:33:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00105414
Message ID:
00105418
Vues:
37
Gerry,

Yes build the C struct in a VFP string and send a reference to the string to the DLL. You'll have to make the string byte by byte what the struct internal storage looks like including byte and word reversal for ints.

>If you are using a Win32 API function that expects a pointer to a structure as one of its parameters, how do you create the structure in Fox - do you use an array and then use '@' pointer to character ??
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform