Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
When a DLL function expects a 'structure'
Message
 
 
To
05/06/1998 19:33:44
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00105414
Message ID:
00105418
Views:
38
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform