| |
| | Implementing Reference Counting |
 | | Reference counting requires work on the part of both the implementor of a class and the clients who use objects of that class. |
 | | A common implementation approach for most objects is to have only one implementation of these methods (along with QueryInterface), which is shared between all interfaces, and therefore a reference count that applies to the entire object. |
 | | However, from a client's perspective, reference counting is strictly and clearly a per-interface-pointer notion, and therefore objects that take advantage of this capability by dynamically constructing, destroying, loading, or unloading portions of their functionality based on the currently extant interface pointers may be implemented. |
| msdn.microsoft.com /library/en-us/com/html/d4fd98c9-afa4-4c5c-a3c9-44d34881cbdb.asp?frame=true (419 words) |
|