您的位置:首页 > 移动开发

fatal error C1189: #error : Building MFC application with /MD[d] (CRT dll version) requires MFC sha

2016-11-11 17:30 393 查看
该工程调用C#DLL, 

参考:
http://www.cppblog.com/jack-wang/archive/2013/06/01/200743.html
公共语言运行时支持(/clr),在静态库中使用 MFC,这些必须加上

工程->属性- >配置属性->c++->命令行
结尾加上

/D "_AFXDLL" 
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐