Oded Elisha oded123456@gmail.com writes:
@@ -1404,6 +1406,10 @@ BOOL WINAPI MoveFileWithProgressW( LPCWSTR source, LPCWSTR dest, } }
- if (should_sync) {
sync();
- }
That's not the right way to flush a file. You probably want something like FlushFileBuffers.