How to get process handle of a local COM server?

前端 未结 1 1052
半阙折子戏
半阙折子戏 2021-01-22 10:32

I have an IUnknown pointer to a COM local (out of process) server in my Windows client application. Would like to get a handle to the window process that is running the local CO

相关标签:
1条回答
  • 2021-01-22 11:19

    I assume you mean an out-of-process server. No, COM is heavily invested in preventing you from retrieving this information. Important so it can host the COM object as it sees fit. Which enables things like surrogates, DCOM and the COM+ stuff.

    You'll need the interface method.

    0 讨论(0)
提交回复
热议问题