VS2008 出现 error C2664 错误的解决办法
2011-10-06 10:10
253 查看
VS2008 出现 error C2664 错误的解决办法:
错误 1 error C2664: “CFileDialog::CFileDialog(BOOL,LPCTSTR,LPCTSTR,DWORD,LPCTSTR,CWnd *,DWORD)”: 不能将参数 5 从“char [50]”转换为“LPCTSTR”
点击菜单栏中的 Project ->( 项目名)Properties -> Configuration Properties -> General -> Projectdefaults -> Character Set -> Uss Multi-Byte Character Set
点击确定,就ok了
错误 1 error C2664: “CFileDialog::CFileDialog(BOOL,LPCTSTR,LPCTSTR,DWORD,LPCTSTR,CWnd *,DWORD)”: 不能将参数 5 从“char [50]”转换为“LPCTSTR”
点击菜单栏中的 Project ->( 项目名)Properties -> Configuration Properties -> General -> Projectdefaults -> Character Set -> Uss Multi-Byte Character Set
点击确定,就ok了
相关文章推荐
- 关于VS2008发布网站出现错误HRESULT:0x80070057 (E_INVALIDARG)的解决办法
- VS2008的项目出现错误“找不到windows.h”的解决办法
- VS2008出现atlcom.h 431错误的解决办法
- 安装vs2008中文时出现错误Write error in the file VS2008TeamSuite90DayTrialCHSX1429243.iso. Probably the disk is full 的解决办法
- VS2008的项目出现错误“找不到windows.h”的解决办法
- VS2008出现atlcom.h错误的解决办法
- php内存溢出,出现Allowed memory size of 8388608 bytes exhausted错误的解决办法
- 安装window server 2003 的sp2的时候出现错误“拒绝访问”的解决办法
- 安装Ms SQL Server 2005 开发版时出现性能计数器要求安装错误的解决办法
- aspx 上传Excel出现错误:80000401a 的解决办法
- nodejs学习8:windows连接mongodb出现的错误解决办法
- 本地连接属性“出现意外错误”的解决办法
- .Android项目导入时,出现的Could not write file 。。。。。。.classpath错误解决办法
- 在java代码中sql语句出现start before result set的错误解决办法
- "向程序发送命令时出现错误 "解决办法
- 【078】docute.js的v3.4.8版本在IE11下出现【对象不支持“from”属性或方法】错误的解决办法
- 虚拟机安装雪豹出现 EBIOS read error :error 0x31 错误的解决办法
- 使用Genymotion调试出现错误INSTALL_FAILED_CPU_ABI_INCOMPATIBLE解决办法
- JDBC出现这个错误的解决办法Connections could not be acquired from the underlying database!
- WIN10安装MySQL出现错误2503 2502 的解决办法!