Why would QueryInterface() fail when the interface is surely implemented and has built-in marshaller in Windows?

后端 未结 3 1305
予麋鹿
予麋鹿 2021-01-22 08:07

I have the following setup. There\'s a COM server that is installed into COM+ (to run in a separate process) and has this interface definition:

[object, uuid(\"I         


        
3条回答
  •  误落风尘
    2021-01-22 08:28

    you may replace IUnknown by IDispatch as parameter type of your method. In my mind, the server actually has a stub instead of the stream itself since it is in another process.

    this is just a guess

    I hope this helps

提交回复
热议问题