这是最近总遇到的,等以后再遇到时慢慢添加进来

1、从1.1更新为2.1,编译“min”: 找不到标识符

解决方法:加上#include "minmax.h"

 

2、c:\documents and settings\administrator\桌面\liuyu\liuyu\cdib.cpp(1054): error C2259: “CException” : 不能实例化抽象类 解决方法:应可以将出错的地方,换成“CMemoryException”

 

3、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] estMain.cpp 

解决方法:项目-〉属性-〉use   of   MFC   改成use   MFC   in   a   share   dll

posted on 2013-11-15 16:09  zCoderJoy  阅读(413)  评论(0编辑  收藏  举报