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