error C2665: “AfxMessageBox”
2015-06-25 11:22
162 查看
使用AfxMessageBox("CreatePen Error!!");
这个语句时,编译器提示“AfxMessageBox”: 2 个重载中没有一个可以转换所有参数类型。
error C2665: “AfxMessageBox”: 2 个重载中没有一个可以转换所有参数类型
c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxwin.h(5025): 可能是“int AfxMessageBox(LPCTSTR,UINT,UINT)”
c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxwin.h(5027): 或“int AfxMessageBox(UINT,UINT,UINT)”
解决办法:
属性页——配置属性——常规——字符集,改成“未设置”
这个语句时,编译器提示“AfxMessageBox”: 2 个重载中没有一个可以转换所有参数类型。
error C2665: “AfxMessageBox”: 2 个重载中没有一个可以转换所有参数类型
c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxwin.h(5025): 可能是“int AfxMessageBox(LPCTSTR,UINT,UINT)”
c:\program files\microsoft visual studio 8\vc\atlmfc\include\afxwin.h(5027): 或“int AfxMessageBox(UINT,UINT,UINT)”
解决办法:
属性页——配置属性——常规——字符集,改成“未设置”
相关文章推荐
- CentOS 6.5搭建Apache整合SVN 1.8.5服务器(多版本库权限配置)
- Qt常用技能总结
- 关于curl java 模拟http请求
- 3DMax的中文版官方手册
- 解决viewpager懒加载的问题
- 58. Length of Last Word
- 12个优化MySQL的技巧小整理
- cocos2dx 实例 经典游戏机(一)
- Lucene学习总结之二:Lucene的总体架构(转载)
- Java后台实现方法
- 单例模式
- Binary Tree Right Side View
- hibernate多对多关联
- 一个手工删除mysql的sleep线程的小脚本
- Avaya收购Esna丰富企业通信应用
- 设计模式在Android中的运用
- Java Reflection(二):Classes
- 离线安装Cloudera Manager 5和CDH5(最新版5.1.3) 完全教程
- 实现一个数值加法函数,返回两个数字的和。要求能进行参数验证,若参数不是数字或为空则抛出异常。
- LeetCode_50---Pow(x, n)