转载一些wince常见错误及解决办法
来源:互联网 发布:守望先锋优化补丁下载 编辑:程序博客网 时间:2024/05/16 13:42
最近要做Wince6.0下的数据库的东西,用VS2005装了WINCE6_CHS_SDK,但是建立智能设备的MFC工程以后就无法调试,报错如下。。。1>C:\Program Files\Windows CE Tools\wce600\CHSINT SDK For WinCE 6.0\include\ARMV4I\malloc.h(45) : error C2143: syntax error : missing ',' before '*'1>C:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlosapice.h(879) : warning C4996: 'wcsncpy' was declared deprecated1> c:\program files\windows ce tools\wce600\chsint sdk for wince 6.0\include\armv4i\stdlib.h(177) : see declaration of 'wcsncpy'1> Message: '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\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlosapice.h(1075) : warning C4996: 'wcsncpy' was declared deprecated1> c:\program files\windows ce tools\wce600\chsint sdk for wince 6.0\include\armv4i\stdlib.h(177) : see declaration of 'wcsncpy'1> Message: '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\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlosapice.h(1123) : warning C4996: 'wcsncpy' was declared deprecated1> c:\program files\windows ce tools\wce600\chsint sdk for wince 6.0\include\armv4i\stdlib.h(177) : see declaration of 'wcsncpy'1> Message: '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\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atltime.h(402) : error C3861: 'wcsftime': identifier not found1>C:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atltime.h(429) : error C3861: 'wcsftime': identifier not found1>C:\Program Files\Microsoft Visual Studio 8\VC\ce\atlmfc\include\atlcomtime.h(367) : error C3861: 'wcsftime': identifier not found搞的我很郁闷啊。。。完全不知道怎么回事。。。
1.在项目的stdafx.h中寻找#pragma once语句,在它的后面加入如下所示的宏定义 : #define _CRT_SECURE_NO_DEPRECATE 2.在项目的stdafx.h中寻找#pragma once语句,在它的后面加入如下所示的编译控制语句 : #pragma warning(disable:4996)
Windows Mobile移植到WinCE碰到的问题
0 0
- 转载一些wince常见错误及解决办法
- Android开发-----NDK开发中的一些常见错误及解决办法
- Android开发-----NDK开发中的一些常见错误及解决办法
- Android开发-----NDK开发中的一些常见错误及解决办法
- NDK开发中的一些常见错误及解决办法
- 校验及常见错误(转载)
- DB2常见错误及解决办法
- DB2常见错误及解决办法
- DB2常见错误及解决办法
- c3p0常见错误及解决办法
- hadoop常见错误及解决办法!
- DB2常见错误及解决办法
- hadoop常见错误及解决办法!
- Hadoop常见错误及解决办法
- hadoop常见错误及解决办法!
- JBoss常见错误及解决办法
- Hadoop常见错误及解决办法
- Hadoop 常见错误及解决办法
- select,poll,epoll区别
- C/C++程序员必须熟练应用的开源项目 .
- 这是爱因斯坦在20世纪初提的谜题
- Oracle完整约束
- mini2440裸机试炼之—RTC闹钟中断,节拍中断
- 转载一些wince常见错误及解决办法
- PHP:计算小数点后位数
- unix/linux socket设置非阻塞
- 手机卫士知识点二----主界面 gridview.
- 刚刚进入学习delphi
- select()函数、poll()函数
- UIScrollView滚动视图(常用属性以及方法)
- EBS OAF开发中实体对象和视图对象的属性设置器
- learn with python-第十五章:继承