Hi,
If there is a tool for analyzing memory leaks in a c++ COM Object, please provide a link here
If no such tool exist, what would be the best way to handle memory leaks ?
Thank You
Hi,
If there is a tool for analyzing memory leaks in a c++ COM Object, please provide a link here
If no such tool exist, what would be the best way to handle memory leaks ?
Thank You
There's a tool 'valgrind'. It's one of the best memory leak checkers, but I'm not sure if it exists for windows... Give it a try
You can use LeakDiag (and LDParser, LDGrapher), good for unmanaged code, including COM.
Are you developing the COM object or simply using it? Do you have the source?
If you don't have the source then you're pretty much on your own.
If you do then any 'normal' memory leak checker will work. I use Bounds Checker which is part of the MicroFocus DevPartner Studio product (see here http://www.microfocus.com/products/micro-focus-developer/devpartner/visual-c.aspx). It's commercial but there's a trial available that might help you...