Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing strings to DLL
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00588408
Message ID:
00665205
Views:
35
>Preallocation doesn't help. I still believe that the problem is in the data type difference - VB is passing string variables by reference and getting values back naturally, while VFP is producing DLL exception error. that is, VFP cannot pass to DLL the memory pointer to the string variable.

Umm, that's not true. Go search http://support.microsoft.com for "howto pass structures to a dll" for a KB article that demonstrates doing exactly this.
Mike Stewart
Previous
Reply
Map
View

Click here to load this message in the networking platform