Debug Heap Corruption A very good article in MSDN Blogs Heap Corruption: A Case Study What a Heap is (a) What a Heap is (b) Windows Heap Overrun Monitoring Windows Error Codes