Re: Writing COM server EXE

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



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




.



Relevant Pages

  • Re: Problem marshalling interface pointer into local server
    ... It can be applied to the proxy/stub DLL as well. ... Mind you this is not the most efficient way of producing a DLL ... Now that would be correct - an Automation-compatible interface ... I had an issue where I have a in-proc server (server ...
    (microsoft.public.vc.atl)
  • Re: Writing COM server EXE
    ... COM server DLL and making that COM interface available to clients from ... Neelakantan K. ...
    (microsoft.public.win32.programmer.ole)
  • Re: Tabs, Comboxes and ADO.Net Problems
    ... The ADO.Net interface that addresses this ... The problem is that sometimes and only sometimes the dll won't ... > the server, find my running database dll process and close it. ...
    (microsoft.public.dotnet.languages.csharp)
  • How to Sink and Source Events???
    ... I have developed a C# DLL that sinks an interface from a Visual Studio 6.0 ... the .NET C# server Dll: ... However what is necessary to do is also make calls from the client into the ... public interface IButtonEvents ...
    (microsoft.public.dotnet.framework.interop)
  • Re: Properties Shared Amongst Objects
    ... The host can query my application for certain ... In that context one usually strives to provide a subsystem interface that reflects the invariants of the DLL subject matter. ... A some point the conversion may become so complex that one wants to deal with it explicitly within the DLL subject matter. ...
    (comp.object)