Accessing COM interface from C or C++ in Windows environment

后端 未结 3 1237
情话喂你
情话喂你 2020-12-06 21:39

I\'m relatively new to the Component Object Model specification - I have a simple question:

  • How can I access a COM interface from a C or C++ applicatio
3条回答
  •  粉色の甜心
    2020-12-06 22:36

    Actually, you will need to instantiate the object using the COM interface.

    This is fairly complicated, more than we can just answer here.

    here is a good primer: http://www.codeproject.com/KB/COM/comintro.aspx

    Another one: http://www.codeguru.com/cpp/com-tech/activex/tutorials/article.php/c5567

提交回复
热议问题