COM DCOM Question:
Download Questions PDF

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.

Download COM DCOM Interview Questions And Answers PDF

Previous QuestionNext Question
How to Use structs in COM interfaces when Automation compatibility is not an issue?how to call a dll as a COM dll?