console中应用MFC类的方法
2016-09
睿丰德RFID软件系统集成商
1、添加#include <afx.h>或者<afxwin.h>
这时会报错
1>c:\program files\microsoft visual studio 8\vc\atlmfc\include\afx.h(24) : fatal error C1189: #error : Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version. Please #define _AFXDLL or do not use /MD[d]
解决方法,点击项目属性,然后配置属性、常规,然后右边有个“项目默认值”,下面有个MFC的使用,选择“在共享 DLL 中使用 MFC”,就OK了
RFID管理系统集成商 RFID中间件 条码系统中间层 物联网软件集成