码迷,mamicode.com
首页 > 其他好文 > 详细

AfxMessageBox出现错误error C2665

时间:2015-01-20 15:22:53      阅读:186      评论:0      收藏:0      [点我收藏+]

标签:

AfxMessageBox(("click")); 错误 error C2665: ‘AfxMessageBox‘ : none of the 2 overloads could convert all the argument types 解决方法: AfxMessageBox(_T("click")); 解释:如果程序中define _UNICODE,则可用_T or _TEXT将后面的内容转为UNICODE格式字符串,否则和不用_T一样 或者就修改项目属性里面的字符编码

AfxMessageBox出现错误error C2665

标签:

原文地址:http://www.cnblogs.com/jack-jia-moonew/p/4235983.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!