Just add the macro #define _AFXDLL
before every header files or in the stdafx.h
one thing for all:
#ifndef _AFXDLL #define _AFXDLL #endif
After that, use #include <afxwin.h>
to replace any of the windows.h
in any other files.
2017/2/15 15:08