Answers for "convert string to TCHAR"

0

convert string to TCHAR

std::string txt = "some content";
TCHAR* val = (TCHAR*)target.c_str();
or
TCHAR val = (TCHAR)target.c_str();
Posted by: Guest on April-07-2021

Code answers related to "convert string to TCHAR"

Browse Popular Code Answers by Language