Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VC++ COM
Message
De
27/09/1999 00:49:44
 
 
À
26/09/1999 23:34:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Divers
Thread ID:
00269140
Message ID:
00269196
Vues:
23
BSTR is the type used in VC++ (and idl) for strings. Its declaration in C++ is:

typedef OLECHAR* BSTR;

MSDN defines BSTR as "A length-prefixed string used by Automation data manipulation functions."

BSTRs are UNICODE strings.

If you need to have strings in a VC++ COM object, then it has to be BSTR.

Vlad

>I haven't gotten into it in detail, but I have been told that the C++ functions that operate on BSTR data types assume NUL terminated strings. Have you found alternatives to this?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform