Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to launch COM server in separate dllhost process?

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?

like image 530
lambdas Avatar asked May 15 '26 15:05

lambdas


1 Answers

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

like image 193
Hans Passant Avatar answered May 17 '26 04:05

Hans Passant