First What is COM?
COM stands for Component object model.it is used to enable a inter process communication,dynamically can create object in large range of programming language.
All COM Component must implemet the standard IUnknown ,thus all com interface derived from IUnknown..it contain three methods AddRef(),Release() which are use for counting the reference counting,last one is QueryInterface() which control the life time of interface.
CoCreateInstance() API can be used by an application to directly create a COM object without acquiring the object's class factory.
or CreateObject() also use for creating an object
IMoniker :- it used to uniquely identify the COM Object,as a same way as a path identifier find the path ,IMoniker identify the COM Object in the directory Namespace.
COM stands for Component object model.it is used to enable a inter process communication,dynamically can create object in large range of programming language.
All COM Component must implemet the standard IUnknown ,thus all com interface derived from IUnknown..it contain three methods AddRef(),Release() which are use for counting the reference counting,last one is QueryInterface() which control the life time of interface.
CoCreateInstance() API can be used by an application to directly create a COM object without acquiring the object's class factory.
or CreateObject() also use for creating an object
IMoniker :- it used to uniquely identify the COM Object,as a same way as a path identifier find the path ,IMoniker identify the COM Object in the directory Namespace.
Comments
Post a Comment