Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a C++ DLL to use with FoxPro
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00048334
Message ID:
00051311
Views:
41
>>Also, VFP strings are not null terminated and this can be a "bad news" when using C/C++ functions on them.
>
>Nope. VFP converts strings to NULL terminated when calling the API and
>to wide character OLE BSTR when calling COM objects. This is not an
>issue only if you're dealing with the LCK interface (although I haven't
>looked at that in a while - might be that the var structs have been
>changed over to follow variant structures by now).
>
>+++ Rick ---

I know that. I wanted to say that in VFP a chr(0) doesn't terminate the string as in C/C++, ie the definition of strings is different in the two languages.

Obviously, my previous comment was not for you. :) I'm sure you knew it. :)

Vlad
Previous
Reply
Map
View

Click here to load this message in the networking platform