我用TQ2440提供的SDK安装后,用VS2005编译wince6.0的一个hello,没问题。但用自己生成的SDK安装后编译出错:
1>------ 已启动生成: 项目: mytest1, 配置: Debug pw_SDK1 (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 8\VC\ce\atlmfc\include\afxce.h(41) : fatal error C1083: Cannot open include file: 'aygshell.h': No such file or directory
1>生成日志保存在“file://d:\My Documents\Visual Studio 2005\Projects\mytest1\mytest1\pw_SDK1 (ARMV4I)\Debug\BuildLog.htm”
1>mytest1 - 1 个错误,0 个警告
========== 生成: 0 已成功, 1 已失败, 0 最新, 0 已跳过 ========== |