christopher-fabian
christopher-fabian
Same result in release mode: 
Do you have any idea how to check if the heap is corrupted and/or how to fix it? I‘m not familar with problems like this.
Thank you for your tips. I found out the error only occurs when ExtFileStream.Close() is called shortly before disposing. If I skip closing the stream before disposing, it works. But...