Re: logging AddRef() and Release() to trace file
- From: "Igor Tandetnik" <itandetnik@xxxxxxxx>
- Date: Tue, 25 Oct 2005 22:38:44 -0400
<swartzbill2000@xxxxxxxxx> wrote in message
news:1130283433.818188.262730@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
> I am looking for the implementations of AddRef() and Release(). I want
> to override them to write info to a trace file, and then call the base
> implementations, whereever they are. What are the base class and the
> corresponding functions that I need to override?
Aren't built-in debugging facilities sufficient for your purposes? See
_ATL_DEBUG_INTERFACES and ATL_DEBUG_QI. Combine them with DebugView
(http://www.sysinternals.com/Utilities/DebugView.html) for comprehensive
logging.
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925
.
- Follow-Ups:
- Re: logging AddRef() and Release() to trace file
- From: swartzbill2000
- Re: logging AddRef() and Release() to trace file
- References:
- logging AddRef() and Release() to trace file
- From: swartzbill2000
- logging AddRef() and Release() to trace file
- Prev by Date: logging AddRef() and Release() to trace file
- Next by Date: Re: Connection String Without db_source
- Previous by thread: logging AddRef() and Release() to trace file
- Next by thread: Re: logging AddRef() and Release() to trace file
- Index(es):
Relevant Pages
|