Do COM keep track of all the object references(Accounting)?
Answer Posted / naviyr
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.
| Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
Explain Futures of COM?
Is dcom dead?
Suppose we have object b and aggregated object c (in- proc server), created by b. Can you access any interface of b from c? What?s the difference between aggregated and contained objects?
What is reference counting in com?
How do we create dcom object in vb6?
Once I have developed the com wrapper do I have to still register the com in registry?
Define and explain about COM?
how to call a dll as a COM dll?
What are queued components?
Can I use com components from .net programs?
What is the use of com component in .net?
Which namespace do the classes, allowing you to support COM functionality, are located?
Suppose we have object B and aggregated object C (in- proc server), created by B. Can you access any interface of B from C?
What is the difference between aggregated and contained objects?
Can you explain what is dcom?