What are the purposes of AddRef, Release and QueryInterface
functions

Answer Posted / anand

To bring the lost object identity back to the component
thru QueryInterface and manage the life-cycle of the
component thru AddRef and Release by reference counting.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does .net replace com?

541


how to call a dll as a COM dll?

688


Once I have developed the com wrapper do I have to still register the com in registry?

636


Is dcom dead?

598


Can I use .net components from com programs?

579






Define and explain about COM?

588


How do we create dcom object in vb6?

663


What is reference counting in com?

535


Can I use com components from .net programs?

570


What are queued components?

567


Can you explain what is dcom?

519


What is dcom?

521


What is the use of com component in .net?

568


Explain Futures of COM?

560


What is the difference between aggregated and contained objects?

543