title: Dynamically importing a C++ class from a DLL
body: <p>What is the correct way to import a C++ class from a DLL? We're using Visual C++. </p>
  
  <p>There's the dllexport/exports.def+LoadLibrary+GetProcAddress trifecta, but it doesn't work on C++ classes, only C functions. Is this due to C++ name-mangling? How do I make this work?</p>