Help on implementing COM on unix

M

mshetty

Hi,

I want to implement COM(only COM; we do not require DCOM) on Unix.
Need something to start with. Would help if I could get URL or site
that talks of this.

Thanks and Regards,
M Shetty
 
P

Peter van Merkerk

I want to implement COM(only COM; we do not require DCOM) on Unix.
Need something to start with. Would help if I could get URL or site
that talks of this.

Your question is not really topical here since it has nothing to do with
the standard C++ language, see also:
http://www.slack.net/~shiva/welcome.txt

<OT>
The book "Inside COM" from Dale Rogerson should give you some insights
how to make your own COM like thingy.
 
A

Alf P. Steinbach

I want to implement COM(only COM; we do not require DCOM) on Unix.
Need something to start with. Would help if I could get URL or site
that talks of this.

Goodie. Check out the implementation in Mozilla (the browser). Also
check out Gnome Bonobo, which implements kinda-like COM on top of
CORBA - an interesting approach.
 
P

Pat McCormack

Talk to Miguel Ignazca of Ximian who wrote the bonobo stuff.
It is completely possible to implement COM in totally standard C++.
Advisable in fact. The C++ vtable defines the COM binary interface. I've
done it on unices and CIX. My stuff was not nearly as good as bonobo.
Lacking the built in class factories you need to implement your own which is
a bit of a pain. A good smart pointer class is worth it's weight in gold. It
is getting COM to work with other languages than C++ that can get hairy. I'd
recommend having a good reread of the GoF design patterns book (particularly
factories, facade, proxy, state and observer ) before getting stuck into the
COM.
If you need to provide libraries it is worth looking at how the Active
Template Library leverages C++ multiple inheritance and templates to
implement the COM.
DCOM sucks.
Pat McCormack
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,145
Messages
2,570,826
Members
47,372
Latest member
LucretiaFo

Latest Threads

Top