DWORD winErr = GetLastError(); std::string Error(DWORD dwErr) { char buff[512]; DWORD systemLocale = MAKELANGID(LANG_NEUT