У меня компьютер AMD64.
Код: Выделить всё
::std::string str;
BOOL loadU(const wchar_t* lpszPathName, int flag = 0);
Код: Выделить всё
loadU(&str);
Код: Выделить всё
Error 7 error C2664:: cannot convert parameter 1 from 'std::string *__w64 ' to 'const wchar_t *'
Подробнее здесь: https://stackoverflow.com/questions/246 ... st-wchar-t
Мобильная версия