error C2664: “strcpy”: 不能将参数 2 从“CString”转换为“const char *”
2016-03-26 11:42
405 查看
这是错误:
error C2664: “strcpy”: 不能将参数 2 从“CString”转换为“const char *”
这是源码:
LPSTR m_pszMapView;
CString m_strSend;
strcpy(m_pszMapView,m_strSend);
解决方法:在项目->XX工程属性->项目配置,字符集选择为多字节字符集.
error C2664: “strcpy”: 不能将参数 2 从“CString”转换为“const char *”
这是源码:
LPSTR m_pszMapView;
CString m_strSend;
strcpy(m_pszMapView,m_strSend);
解决方法:在项目->XX工程属性->项目配置,字符集选择为多字节字符集.
相关文章推荐
- 51nod1428 活动安排问题
- Java String常见面试题汇总
- MFC中POSITION类详解
- 2016阿里云实习面经
- Android Studio 安装教程
- UITabBarController 根视图控制器
- 关于音频PCM数据2字节(16位)byte与64位double之间的转换
- ZooKeeper Watch Java API浅析exists
- Android APK反编译
- Android LocalActivityManager的用法
- 由一个bug引发的SQLite缓存一致性探索
- Eclipse下的Setting property 'source' to '...' did not find a matching property 错误
- valgrind
- 集合第二发Set接口
- Java中将JSON格式的数据转换成对应的Bean、Map、List数据
- Hibernate的findByExample莫名加入了值为空的的属性做查询条件
- winform程序生成条形码并且并且保存到本地文件中。
- smarty模板引擎_6-Smarty的内置函数
- 记录博文
- Java多线程锁异常:IllegalMonitorStateException