On Tue, 29 Nov 2005 02:43:39 +0100, you wrote:
... some _mbsinc calls
... some putc calls
And finally ...
0009:Call msvcrt.fclose(7fe8fa90) ret=7f81ecf0
[snip]
0009:Ret msvcrt.fclose() retval=00000000 ret=7f81ecf0 0009:Call kernel32.OpenFile(7fe60252 "i:\mnt\privat\Origin6\UNTITLED.opj",7fadf040,00000200) ret=7f81ed08
This open file is really doing a delete (0x200 is OF_DELETE ). I guess that is part of the error exit and that the cause is in those putc and _mbsinc calls.
Rein.