Monthly Archives: November 2008

C++ name mangling hell

I found this post on Experts exchange about C++ name mangling hell. I have run in to this problems a few times, it drives me nuts as I always forget about it when trying to use LoadLibrary and GetProcAddress. #ifdef FIRSTINDLL_EXPORTS #define FIRSTINDLL_API extern “C” __declspec(dllexport) #else #define FIRSTINDLL_API extern “C” __declspec(dllimport) #endif // Exported [...]