COM DCOM Question:

Download Job Interview Questions and Answers PDF

Do COM keep track of all the object references (Accounting)?

COM DCOM Interview Question
COM DCOM Interview Question

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?