I\'m trying to convert a TCHAR to a string as in:
std::string mypath; TCHAR path[MAX_PATH]; GetModuleFileName( NULL, path, MAX_PATH );
I ne
You can also convert from _TCHAR* to char* using wcstombs or wcstombs_s function
_TCHAR*
char*
wcstombs
wcstombs_s
http://msdn.microsoft.com/en-us/library/5d7tc9zw%28v=vs.80%29.aspx