Encounter 'FAST IO DISALLOWED' when rename under Windows

Hi.
In my code I fopen a file to write something into it, then I fclose it and try to rename it, but failed. What I get from procmon.exe is FAST IO DISALLOWED.
So, how can I rename it in this case?
Topic archived. No new replies allowed.