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

后端 未结 3 1243
情话喂你
情话喂你 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:19

    I would suggest looking into ATL if you are using C++, and using C++ if using C. It is very easy to use the #import construct to access COM objects in DLLs or EXEs.

提交回复
热议问题