In C++ is it possible to convert a \'const wchar_t *\' to \'unsigned char *\'?
How can I do that?
wstring dirName; unsigned char* dirNameA = (unsigne
You need to convert character by character. There are functions like wcstombs to do this.
wcstombs