用VS20005写messagebox居然出错了~
AfxMessageBox("update");
错误 error C2665: 'AfxMessageBox' : none of the 2 overloads could convert all the argument types
解决方式是改成 AfxMessageBox(_T("update"));
原因是如果程序中有define _UNICODE,则可用_T 或者 _TEXT将后面的内容转为UNICODE格式字符串,否则和不用_T一样