Is it possible to have an out-of-process COM server where a separate O/S process is used for each ob

Posted by Tom Williams on Stack Overflow See other posts from Stack Overflow or by Tom Williams
Published on 2010-05-24T15:08:18Z Indexed on 2010/05/24 15:11 UTC
Read the original article Hit count: 292

Filed under:
|
|

I have a legacy C++ "solution engine" that I have already wrapped as an in-process COM object for use by client applications that only require a single "solution engine".

However I now have a client application that requires multiple "solution engines". Unfortunately the underlying legacy code has enough global data, singletons and threading horrors that given available resources it isn't possible to have multiple instances of it in-process simultaneously.

What I am hoping is that some kind soul can tell me of some COM magic where with the flip of a couple of registry settings it is possible to have a separate out-of-process COM server (separate operating system process) for each instance of the COM object requested.

Am I in luck?

© Stack Overflow or respective owner

Related posts about c++

Related posts about com