Notifications
Clear all
[Closed] new directory from SDK
Jul 15, 2015 5:47 pm
Is there an easy way to convert a MCHAR to CHAR or any other way to do this?
MCHAR Path[256];
MCHAR Dir[20];
wcscpy( Path, TheManager->GetDir(APP_PREVIEW_DIR));
swprintf(Dir, _T("\ emp\\"), 0);
wcscat(Path, Dir);
mkdir(Path); // Wants a char not MCHAR
2 Replies