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一样

或者就修改项目属性里面的字符编码

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-11-29
  • 2021-06-27
  • 2021-08-15
  • 2021-05-27
  • 2021-09-06
  • 2021-05-16
猜你喜欢
  • 2022-12-23
  • 2022-01-07
  • 2022-12-23
  • 2021-09-28
  • 2022-12-23
  • 2021-12-10
  • 2022-01-06
相关资源
相似解决方案