Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating a C++ DLL to use with FoxPro
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00048334
Message ID:
00051311
Vues:
46
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform