Re: Creating COM server with C#



You cannot AFAIK write a native COM server in C#.

What you *can* do is write a "serviced component" (i.e. a COM+ dll that you can host as a COM+ application in "Component Services".

http://msdn.microsoft.com/en-us/library/ty17dz7h.aspx

Alternatively, you can use a COM-server compatible framework to write a shim COM server to the managed (.NET) COM library (dll); for quick'n'dirty jobs I've used VB6 for this; or C++ if you are literate with it (I'm not very...).

Marc
.



Relevant Pages

  • Re: How to make a server self-starting?
    ... server, smtp or any other wellknown services. ... you will need a host ... If you need something loaded in per client request without building a RO ... you'll have to use dll or COM+ (which is essentially the same as ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: How to reference a remote DLL
    ... services - and each of these need to host the dll in a runtime on the server. ... I don't think you can call a .Net dll on a different server without using one of these technologies. ...
    (microsoft.public.dotnet.framework.component_services)
  • Re: Remoting Implementation
    ... You can use the interface paradigm, deploy the interface dll with you client ... application and the implementation dll stay on your server. ... > I have a Client, Host, Server. ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: Developing on a server...
    ... then try to host it in COM+ and then export it and install the installer ... So you machine will have a proxy to the DLL but the DLL ... Windows 2000 Server so that you can install the COM Object and test it ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Please help
    ... Unable to open the Server service. ... DLL files to display messages from a remote computer. ... The NVIDIA Driver Helper Service service hung on starting. ... have the necessary registry information or message DLL ...
    (microsoft.public.windowsxp.perform_maintain)

Loading