New version of the typical question of how to convert from std::string to LPCTSTR.
std::string
LPCTSTR
Reading from different SO posts I learnt that I should do th
Your problem here is the fact that LPCTSTR is resolved to wchar_t* or char* based on whether your build supports unicode (unicode flag set or not).
wchar_t*
char*
To explicitly call the char* version, call CreateDirectoryA().
CreateDirectoryA()