Solved

The concept of COM

Posted on 1998-10-15
2
233 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

733 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