close
當Debug MFC程式時出現了
Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version. Please #define _AFXDLL or do not use /MD[d]
的訊息,代表專案的屬性沒有改
到"專案總管"→(右鍵)→屬性→右方Menu:(組態屬性→一般)→把MFC的使用從"使用標準的視窗程式庫"改為"MFC的靜態程式庫"
Ref:
http://bearsfancy.pixnet.net/blog/post/80804885-%E7%AD%86%E8%A8%98%E2%80%A7mfc%E2%80%A7%E8%A6%81%E8%A8%98%E5%BE%97%E8%A8%AD%E5%AE%9A%E5%93%AA
全站熱搜
留言列表