This topic is now archived and is closed to further replies.

Memory Leak Detections...

This topic is 5975 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts


Microsoft have... You get that for free when you make a Debug version of your program in MSVC...

Bung in a #include and the following early in your program:

_CrtSetDbgFlag( _CrtSetDbgFlag(0)|_CRTDBG_LEAK_CHECK_DF );

The CRTDBG stuff has a wealth of useful things for detecting stuff like that.

For more advanced third party stuff, look at BoundsChecker from NuMega

Simon O''''Connor
Creative Asylum Ltd

Share this post

Link to post
Share on other sites