error C2664: 'atoi' : cannot convert parameter 1 from 'CString' to 'const char *'
来源:互联网 发布:ubuntu anti-aliasing 编辑:程序博客网 时间:2024/06/05 21:10
error C2664: 'atoi' : cannot convert parameter 1 from 'CString' to 'const char *'
在MFC中出现这个提示 是字符集的问题
项目右键--> 属性 将 character set改为Use multi-byte character set就可以了
如下图
- error C2664: 'atoi' : cannot convert parameter 1 from 'CString' to 'const char *'
- 错误1error C2664: 'CWnd::MessageBoxW' : cannot convert parameter 1 from 'const char [17]' to 'LPCTST
- error C2664: 'CWnd::MessageBoxW' : cannot convert parameter 1 from 'const char [12]' to 'LPCTSTR'解决方案
- error C2664: 'CWnd::MessageBoxW' : cannot convert parameter 1 from 'const char [12]' to 'LPCTSTR'解决方案
- VS2008编译错误, error C2664: cannot convert parameter 1 from 'const char [27]' to 'LPCT
- error C2664: 'CWnd::MessageBoxW' : cannot convert parameter 1 from 'const char [30]' to 'LPCTSTR'
- error C2664: 'DeleteFileW' : cannot convert parameter 1 from 'const char *' to 'LPCWSTR'
- error C2664: 'atof' : cannot convert parameter 1 from 'int' to 'const char *'
- cannot convert parameter 1 from 'CString' to 'const char *'
- 报错 error C2664: 'CreateWindowExA' : cannot convert parameter 2 from 'unsigned short [10]' to 'const char *'
- error C2664: 'MessageBoxW' : cannot convert parameter 2 from 'const char [2]' to 'LPCWSTR'
- 关于VS2005的error C2664: cannot convert parameter 2 from 'const char [2]' to 'LPCWSTR
- error C2664: 'TextOutW' : cannot convert parameter 4 from 'const char [5]' to 'LPCWSTR'
- error C2664: 'CreateWindowExW' : cannot convert parameter 2 from 'const char [16]' to 'LPCWSTR'
- error C2664: 'strcpy' : cannot convert parameter 1 from 'WCHAR [32]' to 'char *'
- error C2664: 'CWnd::MessageBoxW' : cannot convert parameter 1 from 'char *' to 'LPCTSTR'的解决方法
- error C2664: 'CWnd::MessageBoxW' : cannot convert parameter 1 from 'char *' to 'LPCTSTR'的解决方法
- error C2664: 'CWnd::MessageBoxW' : cannot convert parameter 1 from 'char *' to 'LPCTSTR'
- 8种互联网在线支付接口
- Android-无线鼠键
- android xml界面布局常用属性概括
- poj 2243 双向bfs和A*
- 一个UTF-8的文件,需要删除其中的英文标点和字母。
- error C2664: 'atoi' : cannot convert parameter 1 from 'CString' to 'const char *'
- 现实迷途 第二十八章 钱珊其人
- 一个游戏程序员的学习资料
- BT5 配置笔记
- ubuntu 11.10 解决eclipse indigo debug提示框黑色背景问题
- android 多媒体和相机详解一
- undefined reference to `g_assertion_message_expr'
- Android Url的链接[转]
- ubuntu下挂载u盘终端命令简单方法