COM Servers in C#

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.
 
M

Matt Gieselman

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.
 

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

Top