Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Convert C String to BSTR
Message
From
24/06/2000 09:50:04
 
 
General information
Forum:
Visual C++
Category:
Active Template Library (ATL)
Miscellaneous
Thread ID:
00377891
Message ID:
00384241
Views:
24
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform