How to convert char to LPCTSTR (MFC)?
- by Shark
Is there any way to do this? This is what I am trying to do:
char s[] = { 'a', 'b' };
label.SetWindowTextW(s[1]);
label is CStatic typed, _UNICODE is defined.
Any help would be appreciated.
UPD: Tried to use CString(s[1]), it works for ASCII characters but others won't work. E. g. for the ? it returns |.