Solved

The concept of COM

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

910 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now