What is the correct way to import a C++ class from a DLL? We’re using Visual C++.
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?
Found the solution at http://www.codeproject.com/KB/DLL/XDllPt4.aspx
Thanks for your efforts guys & girls