New answers tagged

0

if (result < 0) { LPWSTR errorText{}; auto result2 = FormatMessageW(FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_ALLOCATE_BUFFER, nullptr, result, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), reinterpret_cast<LPWSTR>(&errorText), 0, nullptr); wstringstream o; auto justfile = JustFile(file); o << caller << "():...


Top 50 recent answers are included