Re: Detecting memory leaks (VC8)

Originally Posted by
Lindley
Personally I find it rather difficult to determine exactly which gtk+ objects need explicit deletion and which don't, since gtk+ uses some kind of reference counting which isn't documented all that well.
I have to admit, that is a definite weakness with gtk+. I tend to use gtkmm for new projects.
I haven't had much time to look into this yet so I'm still struggling to figure out how I'll crack the fact that _CrtDumpMemoryLeaks() will be giving me false readings for global objects if I'm not using MFC (it does work fantastically well for an MFC app but not so well in the example I gave).
Is there a way to set a "start point" for leak detection? In other words, to say "ignore any memory allocated before this point because that'll just be the global objects"?
"A problem well stated is a problem half solved.” - Charles F. Kettering