Hi,
I have a Win32 Console Application which is throwing the Debug Assertion Failed! .. _CrtIsValidHeapPointer( pUserData ) and followed by a Debug Assertion Failed! .. _BLOCK_TYPE_IS_VALID(pHead->nBlockUse).
After I did a Step by Step Debug strangely what I saw was it is throwing error once it is exittin the main function.
Unlike any character pointers and deletion of heap without its references as of when generally this error occurs I have no such instances.
please could you suggest a probable solution to this. please help.