今天在开发过程中遇到了C1189 error。找了好久解决办法,最后自己解决了......

方法:工程右键->属性

 

 

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]

编辑预处理器定义:

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]

再次运行,就解决了。

 

相关文章:

  • 2021-08-26
  • 2021-07-23
  • 2021-07-25
  • 2021-08-20
  • 2021-11-28
猜你喜欢
  • 2022-12-23
  • 2021-08-30
  • 2021-12-31
  • 2021-08-05
  • 2021-07-15
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案