Maarten Lankhorst <m.b.lankhorst at gmail.com> writes: > + curpos.QuadPart = 0; > + SetFilePointerEx(hFile, curpos, &oldpos, FILE_CURRENT); > + SetFilePointerEx(hFile, curpos, NULL, FILE_BEGIN); That's not thread-safe. -- Alexandre Julliard julliard at winehq.org