1.

Do Com Keep Track Of All The Object References (accounting)?

Answer»

Object references in COM is accounted USING TWO methods of IUnknown INTERFACE (AddRef and Release).

AddRef: Increments a reference count WHEREAS "Release" DECREMENTS the count. When the count of the reference is zero the DLL is unloaded from memory.

Object references in COM is accounted using two methods of IUnknown Interface (AddRef and Release).

AddRef: Increments a reference count whereas "Release" decrements the count. When the count of the reference is zero the DLL is unloaded from memory.



Discussion

No Comment Found