Search code examples
.netcom-interopcom+

regsvcs-registered .NET class and dllhost


Suppose there is defined ClassA which is
1. COM visible ,
2. registered as COM+ out-of-process (using regsvcs)

There is also .NET code like

void f()
{
    ClassA a = new ClassA();
} 

Is it right that when constructor of ClassA called , dllhost process started?


Solution

  • You are instantiating the class through .NET, not COM+, so the COM+ hosting process will not be involved.