最近要做个WINCE6.0上的项目,在eBox2300上跑。目前VS2005,VS2005SP1,Windows Embedded CE 6.0,Windows Embedded CE 6.0 Platform Builder Service Pack 1都安装了。有几个问下,请教一下:
1.是不是每个自己定制的WINCE6.0系统对应一个SDK?
2.我在没有定制操作系统的情况下,打开VS2005选择project为啥没有Add New SDK?
3.如果我的eBox上已经有了wince6.0操作系统,如何定制对应这个操作系统的SDK?
4.如果自己定制WINCE6.0系统,如何添加其对MFC的支持?
我现在先试着用ebox带的光盘里的SDK去编MFC程序。先用了静态链接。发现两个错误,
1.无法打开aygshell.h,在Microsoft Visual Studio 8\VC\ce\atlmfc\include下没有这个东西。我把PPC下的aygshell.h拷贝过来,报了11个警告。
2.继续debug,说ActiveSync is not installed。
请问这两点如何解决?
引用 14 楼 wg19850908 的回复:
我现在先试着用ebox带的光盘里的SDK去编MFC程序。先用了静态链接。发现两个错误,
1.无法打开aygshell.h,在Microsoft Visual Studio 8\VC\ce\atlmfc\include下没有这个东西。我把PPC下的aygshell.h拷贝过来,报了11个警告。
2.继续debug,说ActiveSync is not installed。
请问这两点如何解决?……
1. 具体是什么警告,有些警告是不影响使用的。
2. ActiveSync is not installed。 你安装了ActiveSync吗?
1>D:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlosapice.h(879) : warning C4996: 'wcsncpy': This function or variable may be unsafe. Consider using wcsncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.
1> c:\program files\windows ce tools\wce600\ebox2300_wince600_sdk\include\x86\stdlib.h(177) : see declaration of 'wcsncpy'
1>D:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlosapice.h(893) : warning C4996: '_vsnwprintf': This function or variable may be unsafe. Consider using _vsnwprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.
1> c:\program files\windows ce tools\wce600\ebox2300_wince600_sdk\include\x86\stdlib.h(382) : see declaration of '_vsnwprintf'
1>D:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlosapice.h(910) : warning C4996: '_vsnprintf': This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.
1> c:\program files\windows ce tools\wce600\ebox2300_wince600_sdk\include\x86\stdlib.h(377) : see declaration of '_vsnprintf'
1>D:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlosapice.h(1075) : warning C4996: 'wcsncpy': This function or variable may be unsafe. Consider using wcsncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.
1> c:\program files\windows ce tools\wce600\ebox2300_wince600_sdk\include\x86\stdlib.h(177) : see declaration of 'wcsncpy'
1>D:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlosapice.h(1123) : warning C4996: 'wcsncpy': This function or variable may be unsafe. Consider using wcsncpy_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.
1> c:\program files\windows ce tools\wce600\ebox2300_wince600_sdk\include\x86\stdlib.h(177) : see declaration of 'wcsncpy'
1>D:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlchecked.h(157) : warning C4996: '_strlwr': This function or variable may be unsafe. Consider using _strlwr_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.
1> C:\Program Files\Windows CE Tools\wce600\eBox2300_WinCE600_SDK\include\x86\stdlib.h(240) : see declaration of '_strlwr'
1>D:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlchecked.h(167) : warning C4996: '_wcslwr': This function or variable may be unsafe. Consider using _wcslwr_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.
1> C:\Program Files\Windows CE Tools\wce600\eBox2300_WinCE600_SDK\include\x86\stdlib.h(189) : see declaration of '_wcslwr'
1>D:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlchecked.h(192) : warning C4996: '_wcslwr': This function or variable may be unsafe. Consider using _wcslwr_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.
1> C:\Program Files\Windows CE Tools\wce600\eBox2300_WinCE600_SDK\include\x86\stdlib.h(189) : see declaration of '_wcslwr'
1>D:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlchecked.h(209) : warning C4996: '_wcsupr': This function or variable may be unsafe. Consider using _wcsupr_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.
1> C:\Program Files\Windows CE Tools\wce600\eBox2300_WinCE600_SDK\include\x86\stdlib.h(190) : see declaration of '_wcsupr'
1>D:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlchecked.h(226) : warning C4996: '_wcsupr': This function or variable may be unsafe. Consider using _wcsupr_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.
1> C:\Program Files\Windows CE Tools\wce600\eBox2300_WinCE600_SDK\include\x86\stdlib.h(190) : see declaration of '_wcsupr'
1>D:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlchecked.h(291) : warning C4996: '_gcvt': This function or variable may be unsafe. Consider using _gcvt_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. See online help for details.
1> C:\Program Files\Windows CE Tools\wce600\eBox2300_WinCE600_SDK\include\x86\stdlib.h(529) : see declaration of '_gcvt'
以上是警告.....
我没装ActiveSync,程序是在ebox上跑的,ActiveSync可以用吗?
令:跪求可用的,详细的,对WINCE6.0添加MFC支持的方法.....