?
Solved

The concept of COM

Posted on 1998-10-15
2
Medium Priority
?
236 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

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

765 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