Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Converting data structures in DLL calls
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00830675
Message ID:
00830729
Views:
21
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform