我在 platform builder 中导出了一个sdk 。
然后安装, 再在 vs2008中建立了一个选择了这个sdk的win32程序。不做任何修改就进行编译报以下错误
1>C:\Program Files\Windows CE Tools\wce500\minitest\include\ARMV4I\commctrl.h(688) : error C2143: 语法错误 : 缺少“;”(在“*”的前面)
1>C:\Program Files\Windows CE Tools\wce500\minitest\include\ARMV4I\commctrl.h(688) : error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>C:\Program Files\Windows CE Tools\wce500\minitest\include\ARMV4I\commctrl.h(688) : error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>F:\Microsoft Visual Studio 9.0\VC\ce\atlmfc\include\atldefce.h(55) : fatal error C1189: #error : This Windows CE SDK does not support mini-COM with OLE or the full DCOM. One of these is required inorder to use ATL.
但是最后一个错误
1>F:\Microsoft Visual Studio 9.0\VC\ce\atlmfc\include\atldefce.h(55) : fatal error C1189: #error : This Windows CE SDK does not support mini-COM with OLE or the full DCOM. One of these is required inorder to use ATL.
引用楼主 datacodecat 的回复:
但是最后一个错误
1>F:\Microsoft Visual Studio 9.0\VC\ce\atlmfc\include\atldefce.h(55) : fatal error C1189: #error : This Windows CE SDK does not support mini-COM with OLE or the full DCOM. One of these is required inorder to use ATL.