Hi,
This error code indicates that the task exited as a result of heap corruption.
Heap corruption can be due to a number of reasons and it is hard to detect through code analysis.
I suggest you try to analysis your code with some memory analysis tools like WinDbg.
I will move your thread to
Windows Desktop DebuggingForum, you could provide a dump file for the crash application,
you will get a more professional support from there, thank you for your understanding.
In addition,the following discussions may be helpful to you.
How to debug heap corruption errors?
Heap Corruption: A Case Study
Best Regards,
Bob
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to
MSDN Support, feel free to contact MSDNFSF@microsoft.com.