I am developing a program based on Visual C++ 6.0 platform. And the os is WinXP+SP2. Now I found that sometimes when I am calling FlushFileBuffers() in my program, it will cause the system to run into a deadlock status. There will be no response at all. I search this topic through internet, and found that win2000 has met with such a problem and is already solved. There is already a pack to mend this problem. But why will it still happen in WinXP+SP2? It is quite amazing! Anybody knows how to solve it? Any idea of it? Thanks in advance!