Hi, >+ LPSTR pBuffer; >+ if (FormatMessageA(FORMAT_MESSAGE_FROM_SYSTEM | >+ FORMAT_MESSAGE_IGNORE_INSERTS | FORMAT_MESSAGE_ALLOCATE_BUFFER, >+ NULL, error, 0, (LPSTR)&pBuffer, 0, NULL)) >+ { >+ fputs(pBuffer, stdout); >+ LocalFree(pBuffer); >+ return TRUE;
This is a glibc version of fputs, it DOES NOT work with wineconsole. -- Kirill P.S. Current implementation of output_string suffers from the same issue too.