__declspec / DLL / C++ confusion
I just came across this article. If I'm reading it right, the author seems to suggest that one cannot export C++ classes (either in whole or in part) from a DLL (i.e. using the __declspec modifier). Instead, you should use a C style function to create an instance of the class and export that instead. However, a quick search of this forum reveals loads of posts which suggest the opposite. Who's right and who's wrong?
"A problem well stated is a problem half solved.” - Charles F. Kettering