Creating an ATL COM object that implements a specific interface

前端 未结 4 1060
面向向阳花
面向向阳花 2021-01-07 02:03

I need to implement a simple ATL COM object that implements a specific interface for which I have been given both a .tlb file and a .idl file. The interface is very simple

4条回答
  •  佛祖请我去吃肉
    2021-01-07 02:22

    I can't see how to add my question to the accepted answer but I tried to follow the instructions given in his example but I couldn't get the IJim interface listed in the "Implement Interface" dialog when selecting the project radio button there were no interfaces listed even after I compiled the IDL file, choosing instead to navigate to the type library did not help either.

提交回复
热议问题