How to launch COM server in separate dllhost process?

829 Views Asked by At

My COM component implemented as surrogated dll. I create one by calling CoCreateInstanceEx(), but it started in shared dllhost.exe process. Is there a way to launch my COM component in separate dllhost process?

1

There are 1 best solutions below

0
On BEST ANSWER

Surrogate sharing is documented here. Sharing only happens if the AppId matches. Give yours a unique one.