How do I use a COM DLL with LoadLibrary in C++

后端 未结 6 2040
我寻月下人不归
我寻月下人不归 2020-12-16 02:45

First, COM is like black magic for me. But I need to use COM dll in one project I\'m working on.

So, I have a DLL I am developing and I need some functionalities tha

6条回答
  •  -上瘾入骨i
    2020-12-16 03:10

    If it's a COM DLL, all you need do is add it as a reference to your project, and then you can call the functions that are within the DLL.

    Yes, you can use the low level COM functions like DLLGetClassObject, but why would you?

提交回复
热议问题