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
What is dcom?
Can you explain what is dcom?
What is the use of com component in .net?
What is the difference between aggregated and contained objects?
Is dcom dead?
Once I have developed the com wrapper do I have to still register the com in registry?
Which namespace do the classes, allowing you to support COM functionality, are located?
Can I use .net components from com programs?
Does .net replace com?
What is reference counting in com?
Can I use com components from .net programs?
Explain Futures of COM?
How to create an instance of the object in COM?
What are queued components?
Suppose we have object B and aggregated object C (in- proc server), created by B. Can you access any interface of B from C?