I found the answer to this. In the app's InitInstance when registering the module derived from CCmdModule class use module.RegisterClassObjects(CLSCTX_LOCAL_SERVER, REGCLS_SINGLEUSE) instead of MULTIUSE
I have a OLE server executable. I want each CoCreateInstance (or CreateObject in VB) to start a different server exe. However, regardless of what threading model I use for the interface, each CoCreateInstance always creates the same exe. What do I have to do ensure that a new exe is started...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.