Link to home
Start Free TrialLog in
Avatar of link334
link334Flag for United States of America

asked on

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.



Avatar of Kinger247
Kinger247

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
Avatar of link334

ASKER

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.
ASKER CERTIFIED SOLUTION
Avatar of AngryBinary
AngryBinary

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
.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).
Avatar of link334

ASKER

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

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.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of theGhost_k8
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...
Avatar of link334

ASKER

theGhost k8,

The following is a link to some information you should find helpful in building character.
www.albion.com/netiquette/introduction.html
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 !!