首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > .NET > .NET >

error C2270,在vs2008下新建一个工程,debug编译没问题,release编译报错

2014-01-28 
在vs2008下新建一个工程,没加任何代码,debug编译没问题,release编译报错: 1------ 已启动生成: 项目: t3,

在vs2008下新建一个工程,没加任何代码,debug编译没问题,release编译报错:
1>------ 已启动生成: 项目: t3, 配置: Release Windows Mobile 6 Professional SDK (ARMV4I) ------
1>正在编译...
1>stdafx.cpp
1>_CE_ACTIVEX was not defined because this Windows CE SDK does not have DCOM.
1> _CE_ACTIVEX could be caused to be defined by defining _CE_ALLOW_SINGLE_THREADED_OBJECTS_IN_MTA, but it is recommended that this be done only for single-threaded apps.
1>_ATL_NO_HOSTING was defined because _CE_ACTIVEX was not defined.
1>C:\Program Files\Microsoft Visual Studio 9.0\VC\ce\atlmfc\include\afxwin1.inl(321) : error C2039: “GetNearestPaletteIndex”: 不是“CPalette”的成员
1>  C:\Program Files\Microsoft Visual Studio 9.0\VC\ce\atlmfc\include\afxwin.h(503) : 参见“CPalette”的声明
1>C:\Program Files\Microsoft Visual Studio 9.0\VC\ce\atlmfc\include\afxwin1.inl(322) : error C2270: “GetNearestPaletteIndex”: 非成员函数上不允许修饰符
1>C:\Program Files\Microsoft Visual Studio 9.0\VC\ce\atlmfc\include\afxwin1.inl(322) : error C2065: “m_hObject”: 未声明的标识符
1>C:\Program Files\Microsoft Visual Studio 9.0\VC\ce\atlmfc\include\afxwin2.inl(874) : error C2039: “GetTopIndex”: 不是“CListBox”的成员
1>  C:\Program Files\Microsoft Visual Studio 9.0\VC\ce\atlmfc\include\afxwin.h(3688) : 参见“CListBox”的声明
1>C:\Program Files\Microsoft Visual Studio 9.0\VC\ce\atlmfc\include\afxwin2.inl(875) : error C2270: “GetTopIndex”: 非成员函数上不允许修饰符
1>C:\Program Files\Microsoft Visual Studio 9.0\VC\ce\atlmfc\include\afxwin2.inl(875) : error C2065: “m_hWnd”: 未声明的标识符
1>C:\Program Files\Microsoft Visual Studio 9.0\VC\ce\atlmfc\include\afxwin2.inl(876) : error C2039: “SetTopIndex”: 不是“CListBox”的成员
1>  C:\Program Files\Microsoft Visual Studio 9.0\VC\ce\atlmfc\include\afxwin.h(3688) : 参见“CListBox”的声明
1>C:\Program Files\Microsoft Visual Studio 9.0\VC\ce\atlmfc\include\afxwin2.inl(877) : error C2065: “m_hWnd”: 未声明的标识符
1>C:\Program Files\Microsoft Visual Studio 9.0\VC\ce\atlmfc\include\afxwin2.inl(913) : error C2039: “GetCaretIndex”: 不是“CListBox”的成员
1>  C:\Program Files\Microsoft Visual Studio 9.0\VC\ce\atlmfc\include\afxwin.h(3688) : 参见“CListBox”的声明
1>C:\Program Files\Microsoft Visual Studio 9.0\VC\ce\atlmfc\include\afxwin2.inl(914) : error C2270: “GetCaretIndex”: 非成员函数上不允许修饰符
1>C:\Program Files\Microsoft Visual Studio 9.0\VC\ce\atlmfc\include\afxwin2.inl(914) : error C2065: “m_hWnd”: 未声明的标识符
1>C:\Program Files\Microsoft Visual Studio 9.0\VC\ce\atlmfc\include\afxwin2.inl(915) : error C2039: “SetCaretIndex”: 不是“CListBox”的成员
1>  C:\Program Files\Microsoft Visual Studio 9.0\VC\ce\atlmfc\include\afxwin.h(3688) : 参见“CListBox”的声明         

热点排行