Re: Writing COM server EXE
- From: "Alexander Nickolov" <agnickolov@xxxxxxxx>
- Date: Tue, 30 Jan 2007 09:46:07 -0800
That's precisely the reason you don't want an in-proc
server - you want an out-of-proc server - an executable.
Please read the book I suggested in my other post instead
of blundering around blind - it should open your eyes as
to what is possible with COM.
--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnickolov@xxxxxxxx
MVP VC FAQ: http://vcfaq.mvps.org
=====================================
<Neelakantan.Kannappa@xxxxxxxxx> wrote in message
news:1170151068.981306.35490@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Is it possible to implement this middleware with statically linked
COM server DLL and making that COM interface available to clients from
someother processes?
Yes, of course. That is the principle of DCOM: "_Distributed_ COM".
Brian
Hi Brian,
First of all thanks for you valuable input.
With respect to the above query, i still have a doubt.
I will make my requirement clear first then i will ask my doubt.
I have a process which have some function defined in it(.h file
contains those function declarations), Now i want to write a COM in-
process DLL server with an interface, whose definitions have to use
those externally defined functions (by including the process' .h
file).
When the DLL is loaded into the process' address space, it will find
the definitions of those functions so no problem i think.
My whole pupose of doing this is, the process should act as a COM
object server and from some other process i have to call this same
COM object interface.
My guess is, when different process tries to access this COM object,
as this is a in-process DLL, this will get attached to that process
again. However i don't want this behavior, is this possible?
Thanks,
Neelakantan K.
And now my doubt:
As the DLL
.
- Follow-Ups:
- Re: Writing COM server EXE
- From: Neelakantan . Kannappa
- Re: Writing COM server EXE
- References:
- Writing COM server EXE
- From: Neelakantan . Kannappa
- Re: Writing COM server EXE
- From: Brian Muth
- Re: Writing COM server EXE
- From: Neelakantan . Kannappa
- Writing COM server EXE
- Prev by Date: Re: Disorted Sound!!!
- Next by Date: Re: Disorted Sound!!!
- Previous by thread: Re: Writing COM server EXE
- Next by thread: Re: Writing COM server EXE
- Index(es):
Relevant Pages
|