Solved

The concept of COM

Posted on 1998-10-15
2
235 Views
Last Modified: 2010-04-06
I still confuse with the concept of COM (Component Object Model), because it is similar with OLE concept.
Can any experts help me to make the concept clear to me?
0
Comment
Question by:stinger_60284
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 2

Accepted Solution

by:
Thaddy earned 0 total points
ID: 1343078
OLE, object linking /Embedding is part of the COM specification, although it's actually older technology.
COM is centered around the idea of 'interfaces'. An interface is an abstract 'contract' of how an object behaves when interacting with other objects. It says, 'Hey, if you ask me in a certain way, I Guarantee you that I will answer/behave in a certain, predictable way, always,period'.
The underlying implementation code to an interface can vary a great deal on the same interface, because the very same interface can be used for different applications with totally different needs.
The use of interfaces engourages the use of inheritance.
One noticable thing about interfaces, the centerpiece concept of COM, is that once you've chosen an interface, or defined one, you will NEVER EVER change it. which provides for a mechanism to be backwards compatibility. (see msword 7-msword 8).
There's far more to it than this, but remember this:
Think COM, think interface.
Recommended reading: Inside COM and Inside Ole (Microsoft press, I think)
0
 

Author Comment

by:stinger_60284
ID: 1343079
Thanks Thaddy's for the explanation.
I'll appreciate it so much.
:)
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question