Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Converting data structures in DLL calls
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00830675
Message ID:
00830729
Vues:
22
>Well that's kind of what I would have thought too, except that the example in VFP8 showed a structure that consisted of 8 WORD values and the string required was 40 bytes long. That would be 5 bytes per WORD. That confused me a bit.
>
John,

I haven't seen the example so I can't comment on that.

In VFP you would call everything, but the pointer to the version info a SHORT (2 bytes). So the string should be:
lcwsdata = SPACE(2 + 2 + 256 + 128 + 2 + 2 + 4)
or SPACE(396).
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform