[主题]
MFC中用MessageBox()输出变量信息
[例子]
DWORD dwErrorCode = GetLastError();
WCHAR *sErrorInfo = L"OpenScmManager() failed. Error code: ";
CString csInfo; csInfo.Format(L"%s%d", sErrorInfo, dwErrorCode);
MessageBox(csInfo);
[主题]
MFC中用MessageBox()输出变量信息
[例子]
DWORD dwErrorCode = GetLastError();
WCHAR *sErrorInfo = L"OpenScmManager() failed. Error code: ";
CString csInfo; csInfo.Format(L"%s%d", sErrorInfo, dwErrorCode);
MessageBox(csInfo);
转载于:https://www.cnblogs.com/bugchecker/archive/2011/08/18/3041627.html