Click here to Skip to main content
15,899,314 members
Articles / Programming Languages / C++

ASCII strings to Unicode in C++

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
13 May 2011CPOL 9.9K   1  
also since _bstr_t's have operator (char *) and operator (wchar_t *) if you have included comutil.h, you can use it to do your conversion.char * source = "this is my source" ;_bstr_t converter_temp(source) ;wstring target ;target = wstring(converter_temp) ;... and the other way...

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions