How to convert std::wstring to a TCHAR*

Posted by esac on Stack Overflow See other posts from Stack Overflow or by esac
Published on 2009-12-03T19:51:02Z Indexed on 2010/04/27 13:33 UTC
Read the original article Hit count: 238

Filed under:
|
|

std::wstring.c_str() returns a wchar_t*.

How do I get from wchar_t* to TCHAR*, or from std::wstring to TCHAR*

Thanks

© Stack Overflow or respective owner

Related posts about c++

Related posts about unicode