visual c++ - How do I use a COM DLL with LoadLibrary in C++ -
First of all, COM is like black magic for me, but I have to use Com DLL in a project which I I am doing
Therefore, I have a DLL that I am developing and I need some functionalities that are available in a separate COM DLL. When I look at the COM DLL with Depends.exe, I see DllGetClassObject () and other functions, but I do not see any difference.
I have a COM DLL source code, but this is a mess and I want to use the COM DLL in the binaries such as a big black box that does not know what's going on inside. .
So, how can I call the COM DLL function from my code using LoadLibrary? Is this possible? If, yes, can you give me an example of how this can be done?
I am using Visual Studio 6 for this project.
Thanks a lot!
Comments
Post a Comment