“I bought this guide a few days ago to prepare for my interview with Oracle. Many of the questions they asked me were from this guide. I found this book absolutely great!”
I don’t know a whole lot about com.. but it seems the most important aspect to com is that it is a mechanism that provides a common interface for functionality that doesn’t care about the implementation (ie: language or coding style used).
COM is used mainly to maintain versions amoung methods within a component. This is the one that isolates itself from non COM DLL. Each component has its own GUID which makes it less error prone in terms of wrong usage. The disadvantage of COM is its complexity. There are so many ways of implementing COM. This created confusion amoung users. COM is not currently OS independent. COM works closely with Registry. COM can be interprocess(Across EXE’s) as well as DLL. Activex, OLE, ATL are some of COM’s derivatives.
COM is a binary standard on Microsoft (and some UNIX platforms) that enables objects to interoperate in a networked environment regardless of the language in which they were developed or on which computers they reside. COM allows an object to expose its functionality to other components and to host applications. It defines both how the object exposes itself and how this exposure works across processes and across networks. COM also defines the object’s life cycle.
COM - Component Object Model.
It is a protocol for object communication from microsoft.
I don’t know a whole lot about com.. but it seems the most important aspect to com is that it is a mechanism that provides a common interface for functionality that doesn’t care about the implementation (ie: language or coding style used).
COM is used mainly to maintain versions amoung methods within a component. This is the one that isolates itself from non COM DLL. Each component has its own GUID which makes it less error prone in terms of wrong usage. The disadvantage of COM is its complexity. There are so many ways of implementing COM. This created confusion amoung users. COM is not currently OS independent. COM works closely with Registry. COM can be interprocess(Across EXE’s) as well as DLL. Activex, OLE, ATL are some of COM’s derivatives.
Also, COM is a binary standard(as stated earlier, not across OS’s)
COM is a binary standard on Microsoft (and some UNIX platforms) that enables objects to interoperate in a networked environment regardless of the language in which they were developed or on which computers they reside. COM allows an object to expose its functionality to other components and to host applications. It defines both how the object exposes itself and how this exposure works across processes and across networks. COM also defines the object’s life cycle.
Leave an Answer/Comment