How to launch COM server in separate dllhost process?

788 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 answers

0
Hans Passant On BEST ANSWER

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