I'm writing a Direct3D 10 application and want to make sure I don't have COM objects leaking.
Yes, I am wrapping the interfaces with CComPtr, but I'd like a leak check anyway for the same reason I still use an ordinary heap allocation leak detector even though RAII and smart pointers guarantees there will be no leaks: sometimes (especially when interfacing to a C library like Direct3D) you have to fallback to lower levels of abstraction and use raw pointers, new, delete, and you make mistakes. (Not to mention some calls to Release() don't return 0 at the end of the program)
I've #defined _ATL_DEBUG_INTERFACES before I include atlbase.h but nothing appears in the output window! Is there something else I need to do to get _ATL_DEBUG_INTERFACES to work?