title: How do I use a COM DLL with LoadLibrary in C++
body: <p>First, COM is like black magic for me. But I need to use COM dll in one project I'm working on.</p>
  
  <p>So, I have a DLL I am developing and I need some functionalities that are available in a separate COM DLL.  When I look to the COM DLL with Depends.exe I see methods like DllGetClassObject() and other functions but none of the functions I'm interested in.</p>
  
  <p>I have access to the COM DLL (legacy) source code but it's a mess and I'd rather like to use the COM DLL in binary like a big black box not knowing what's going on inside.</p>
  
  <p>So, how can I call the COM DLL functions from my code using LoadLibrary?  Is it possible? If, yes, could you give me an example of how to do it?</p>
  
  <p>I'm using Visual Studio 6 for this project.</p>
  
  <p>Thanks a lot!</p>