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

Showing Answers 1 - 3 of 3 Answers

Santosh Kumar Panda

  • Nov 24th, 2006
 

Yes COM keeps track of all instances of the object refrences. It does so using the AddRef and Release methods defined in the IUnknown interface which every COM class must inherit and hence implement. If you are using MFC, these are already implemented using the ExternalAddRef and ExtrenalRelease methods of CCmdTarget.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions