Hi there! I have a fairly large project where I am using
_CrtDumpMemoryLeaks() to detect memory leaks. I have been using it for
many projects without problems, but after a while I discovered that it
does not function with this one. The project is far too large to NOT
have any leaks, which is what made me suspicious. So I tried to allocate
some memory just before exiting the application, and sure enough; it was
not detected. Has anyone had this kind of experience? I am quite sure it
has worked on earlier compilations of my applications, so I have no idea
what is going on.
Yours,
Morten Aune Lyrstad
Morten Aune Lyrstad - 02 Jan 2005 19:11 GMT
if I set
_CrtSetDbgFlag(_CRTDBG_CHECK_CRT_DF);
I get a report, but that's not what I am after. I need the report which
is generated when using
_CrtSetDbgFlag(_CRTDBG_LEAK_CHECK_DF);