Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VB Call to API vs VFP
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00255827
Message ID:
00256522
Views:
23
>Hi George,
>
>>One more thought. Are you sure that a string is always passed by reference?
>
>Yep, absolutely. If you use STRING, instead of STRING@, VFP copies the string into a temporary buffer and passes the address of this buffer to the API function. With STRING@ it passes a pointer to the actual string (which is locked for the duration of the API call).
>
Thanks Christof. I thought that's what was happening, but wasn't sure.
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform