Monthly Archives: July 2010

WinDbg example for debugging reference count of COM object

One of the hardest things is debugging a reference count leak. COM objects lifetime depends on the reference count (read here for more…). So each client of a COM object must call AddRef on the IUnknown interface when going to … Continue reading

Posted in Programming | Leave a comment