21 Oct
2008
21 Oct
'08
1:32 p.m.
Hi AJ, Alexandre Julliard schreef:
Maarten Lankhorst <m.b.lankhorst(a)gmail.com> writes:
+ curpos.QuadPart = 0; + SetFilePointerEx(hFile, curpos, &oldpos, FILE_CURRENT); + SetFilePointerEx(hFile, curpos, NULL, FILE_BEGIN);
That's not thread-safe.
My bad, I thought overlapped was equal to asynchronous, but it can also be used for synchronous reads it seems, sending a fixed patch. Cheers, Maarten.