自己的檔案叫做richmen1,系統自動生成的Crichmen1App在編譯時卻報錯:error C2653: 'Crichmen1App' : is not a class or namespace name
#include "stdafx.h"
#include "richmen1.h"
#include "richmen1Doc.h"
#include "richmen1View.h"
#include "MainFrm.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// Crichmen1App
BEGIN_MESSAGE_MAP(Crichmen1App, CWinApp)//報錯:error C2653!!
//{{AFX_MSG_MAP(CR4App)
ON_COMMAND(ID_APP_ABOUT, OnAppAbout)
ON_COMMAND(ID_FILE_NEW, CWinApp::OnFileNew)
ON_COMMAND(ID_FILE_OPEN, CWinApp::OnFileOpen)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG_MAP
// Standard file based document commands
END_MESSAGE_MAP()
求問各位大神是怎么回事,怎么解決啊!
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/114501.html
上一篇:968監控二叉樹
