• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 310
  • Last Modified:

COM overview

Experts,

I am doing some self study and need your help. I am NOT a programmer, but am interested in learning how it all comes together. All that mentioned I need an identifiable explanation as I have read several sites, but am looking for simpler explanation so I can better interpret those articles.

What is a COM object?
 How are they utilized?
How do they work?

I would greatly appreciate real life examples to help relate to your explanation.



0
link334
Asked:
link334
  • 3
  • 3
  • 2
  • +2
2 Solutions
 
Kinger247Commented:
Basically COM (Component Object Model) is a binary programming standard. It enables you to build reusable 'binary compatible' software.

Don't want to waffle on here, so heres a link for further info : http://www.microsoft.com/com/default.mspx
0
 
link334Author Commented:
Kinger247,

Thanks for the reply. This was one of the first articles I read. Unfortunately it is greek and am unable to parse it.

"Microsoft COM (Component Object Model) technology in the Microsoft Windows-family of Operating Systems enables software components to communicate. COM is used by developers to create re-usable software components, link components together to build applications, and take advantage of Windows services. The family of COM technologies includes COM+, Distributed COM (DCOM) and ActiveX® Controls."

Software components? Are the COM's a file type such as a DLL that are able to be shared?

Sorry for being so ignorant.
0
 
AngryBinaryCommented:
COM can be thought of, at it's simplest, as a binary module that can be reused by other programs.

To give a practical example, Microsoft provides a COM for Text-to-Speech. If you want to write a program that utilizes text to speech on a Windows platform for which this particular COM is compatible (anything after Win98, if I'm not mistaken), rather than reinvent the entire text-to-speech technology, your program can pass text to the COM object, which will in turn handle the talking part for you. On the user's machine, they will need to have your program, and the COM binary file (often a DLL or OCX) registered.

--Randall
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
Kinger247Commented:
.dll, .ocx and .exe can all be COM objects.

Think of it as metaphor - like a steering wheel....

You wrote the code for the steering wheel, you compile it to a binary standard that enables any other person requiring a steering wheel to use.
The wheel will come compiled (black box).
0
 
link334Author Commented:
AngryBinary,

Awesome description! Makes since. One thing for clarification on the last sentence.

"On the user's machine, they will need to have your program, and the COM binary file (often a DLL or OCX) registered."
Who provides the COM (ocx and DLL)? Microsoft and/or Application programmer? And, how does the COM get registered?

Thanks
Link334
0
 
numansiddiqueCommented:

In COM you expose the interfaces and hide actual implementation to the outside world. Any program can make use of the services of your COM object by making use of the interface method it exposes. The services will be implemented by you in a different class. The user will be least bothered to know how the services are implemented.
0
 
Kinger247Commented:
The Com binary file can be made or sourced from anyone. It just does a particular job. Instead of you writing the code to do the job, the Com control will do it for you. It will need to be registered on the machine if the file is not located in the same folder as the calling program.
0
 
K VDatabase ConsultantCommented:
these are some search engine
www.google.com
www.altavista.com


gud collection of information:-
www.wikipedia.org

GO SEARCH THERE...........


sorry !!! self study ??
The best option is goto a gud search engine and search for it !! You will definatly get help !!
This aint a good Study ... i think searching will allow u to go through the other notes too...
0
 
link334Author Commented:
theGhost k8,

The following is a link to some information you should find helpful in building character.
www.albion.com/netiquette/introduction.html
0
 
K VDatabase ConsultantCommented:
i take no offence but i dont know if it has hit the weak point !!
i;ve never intended towards wounding the feelings..... but it really does... i appologiZ for the same !!
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!

  • 3
  • 3
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now