Comment convertir CString wchar_t

Chacun peut aider à convertir CString à wchar_t?

String csFileName = "";

csFileName.Format("D:\\test\\test %d.jpg", nFile); nFile += 1;


wchar_t *messageArray = static_cast< wchar_t *>(csFileName); wchar_t
firstCharacter = csFileName[0]; ImageFileParams.pwchFileName =
(wchar_t *)(&csFileName);
InformationsquelleAutor Dhaval Rao | 2015-03-24