Friday, November 2, 2007

Component Object Model (COM)

What is COM ?

COM stands for Component Object Model, which is binary specification for software code re-use. It has a standard that is imposed for the interfaces through which client talks to the component classes. The component’s IUnknown interface helps to maintain a reference count of the number of clients using the component. When this count falls below zero, the component is unloaded.

http://hydtechie.blogspot.com/


All components should implement the IUnknown interface. The reference count is maintained by the following methods
IUnknown::AddRef()
IUnknown::Release()
and interface discovery is handled through IUnknown::QueryInterface().

http://hydtechie.blogspot.com/

No comments: