Wednesday, October 6, 2010

Detect memory leaks in our program.

Tip -  How can we detect memory leaks in our program.

Details -  MFC provides a structure CMemoryState to detect memory leaks in our program. This diagnostics method only help to detect memory leaks caused when memory allocated using the new operator is not deallocated using delete.

Reference -
http://msdn.microsoft.com/en-us/library/0wzsd007(VS.80).aspx
http://msdn.microsoft.com/en-us/library/2ads32e2(VS.80).aspx



Posted by - Sobhita Mercy E

No comments:

Post a Comment