In article <476194F0.3060504@thuntek.net>, "Lee H. Skinner" <skinner@thuntek.net> writes:
I suspect it has something to do with the timing and buffering in Windows - the deleting of the old file after line 1195 not being executed by Windows until after the file was saved again at the end of the fractal's generation a few seconds later.
Windows doesn't do this. You ask to delete a file and its deleted by the time the function returns. It doesn't say "oh, I'll do that at some unspecified time in the future". This just sounds like a bug to me, plain and simple. -- "The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download <http://www.xmission.com/~legalize/book/download/index.html> Legalize Adulthood! <http://blogs.xmission.com/legalize/>