How to covert CString to TCHAR and CString to LPCWSTR? - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

How to covert CString to TCHAR and CString to LPCWSTR?

julychjulych Posts: 31Member
How to covert CString to TCHAR and CString to LPCWSTR?
Where can I read about this?

Comments

  • stoberstober Posts: 9,765Member ✭✭✭
    : How to covert CString to TCHAR and CString to LPCWSTR?
    : Where can I read about this?
    :
    One place to read about the convertion functions is www.msdn.microsoft.com. I've only used it for English, so there may be other problems with non-English languages.
    [code]
    mbstowcs() -- converts from char* to TCHAR*
    wcstombs() -- convert from TCHAR* to char*
    [/code]
Sign In or Register to comment.