COM Servers in C#

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I have read about using regasm to "register" .net class libraries (.dll) so
they could be used through COM clients.

However is it possible to create .net class libraries that are implemented
as an out of proc servers (.exe) ?

Thanks in advance.
Rich.
 
However is it possible to create .net class libraries that are implemented
as an out of proc servers (.exe) ?

There is no "sanctioned" way to create Out of Process COM servers using
C#.

A workaround is to create an In Process COM object in C# using an
interface
and have a C# Application implement that interface which the COM object
can
call via IPC (Inter Process Communication), then you have:

COM Client -> C# COM Object -> C# Application

it adds a middle layer that acts as a passthrough but the client will
never
know.
 
Back
Top