Exporting C++ Classes from an MFC Extension DLL - CodeProject
Dear Amir, try putting this In the stdafx.h file for the export DLL, include two #defines at the bottom of the file like this:-#define _MYLIB_DLLAPI_ #define _MYLIB_NOAUTOLIB_ and in your headerfile #ifndef _MYLIB_NOAUTOLIB_ #ifdef _DEBUG #pragma comment ...