Anatoly Lyutin vostok@etersoft.ru writes:
@@ -202,9 +246,9 @@ int main(int argc, char *argv[]) DWORD waitcode; waitcode = WaitForSingleObject(sei.hProcess, INFINITE); if (waitcode)
fatal_error("WaitForSingleObject", GetLastError());
if (!GetExitCodeProcess(sei.hProcess, &exitcode))fatal_error(WaitForSingleObjectW, GetLastError());
fatal_error("GetExitCodeProcess", GetLastError());
fatal_error(GetExitCodeProcessW, GetLastError());
This is way overkill, there's no reason to convert errors like these to Unicode. WINE_ERR would work just as well.