Create Out-Of-Process COM in C#/.Net?

前端 未结 9 814
无人共我
无人共我 2020-11-29 02:23

I need to create an out-of-process COM server (.exe) in C# that will be accessed by multiple other processes on the same box. The component has to be a single process becaus

9条回答
  •  爱一瞬间的悲伤
    2020-11-29 02:31

    Use the flag REGCLS_MULTIPLEUSE with CoRegisterClassObject() to make the coclass a multiuse class. Here is more info: http://support.microsoft.com/kb/169321.

提交回复
热议问题