SyntaxFix
Write A Post
Hire A Developer
Questions
Solve that by using std::basic_string<TCHAR> instead of std::string and it should work fine regardless of your character setting.
std::basic_string<TCHAR>
std::string