Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert C String to BSTR
Message
De
24/06/2000 09:50:04
 
 
À
15/06/2000 04:02:22
Information générale
Forum:
Visual C++
Catégorie:
Active Template Library (ATL)
Divers
Thread ID:
00377891
Message ID:
00384241
Vues:
25
Hi Neil,

Sorry for the delay, been on vacation. :-)

Thanks for the info. I am using this and also _bstr_t object and macros to accomplish this. I got some good guidance on this from some other VC++ forums.

Bill

>Use the SysAllocString() function, this takes an ANSI/Unicode string and returns a BSTR. If you want to go the other way take a look at the standard Unicode-to-Ansi macros.
>
>HTH
>Neil
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform