Game Programming

CString -> TCHAR

니니스 2009. 6. 5. 21:51

TCHAR * des = new TCHAR[sString.GetLength() + 1]; // 1은 NULL을 위한 여유공간
_tcscpy(des, sString.GetBuffer(0));