void CLi2_1View::OnDraw(CDC*pDC)
{
CLi2_1Doc* pDoc= GetDocument();
ASSERT_VALID(pDoc);
// TODO: add draw codefor native data here
MessageBox("这是一个单文档应用程序!",
"消息框",
MB_ICONEXCLAMATION|MB_OKCANCEL);
void CLi2_1View::OnDraw(CDC*pDC)
{
CLi2_1Doc* pDoc= GetDocument();
ASSERT_VALID(pDoc);
// TODO: add draw codefor native data here
MessageBox("这是一个单文档应用程序!",
"消息框",
MB_ICONEXCLAMATION|MB_OKCANCEL);
解决办法——
(1)
MessageBox(TEXT("ddd"));
(2)
在项目属性->常规中,把Uicode改成多字符段。以上两种方法用一个即可