Rogean, how do you know its heap corruption specifically?
There's some detection support native to ms c++ :
http://msdn.microsoft.com/en-us/libr...8VS.85%29.aspx dunno if that would help or not.
You can get malloc ( or new and delete ) wrappers too that will let you do allocation logs and so forth.
Bunch of various memory/allocation/heap tools here too :
http://en.wikipedia.org/wiki/Dynamic...mples_of_Tools
http://support.microsoft.com/default...b;en-us;286470