本人用的VS2008,在使用AfxMessageBox函数的时候出现以上错误,代码如下:
AfxMessageBox("Here is the information!",MB_ICONINFORMATION);
解决办法:
AfxMessageBox(_T("Here is the information!"),MB_ICONINFORMATION);
因工程属性中"字符集"为"使用Unicode字符集"。
本人用的VS2008,在使用AfxMessageBox函数的时候出现以上错误,代码如下:
AfxMessageBox("Here is the information!",MB_ICONINFORMATION);
解决办法:
AfxMessageBox(_T("Here is the information!"),MB_ICONINFORMATION);
因工程属性中"字符集"为"使用Unicode字符集"。