General information
Category:
Windows API functions
>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only