关于深入浅出代码问题
深入浅出MFC代码
frame 3的MFC.H中
自己输入进VC6后老是出问题
IMPLEMENT_DYNAMIC(CCmdTarget,CObject)//提示这里出问题
IMPLEMENT_DYNAMIC(CWinThread,CCmdTarget)
IMPLEMENT_DYNAMIC(CWinApp,CWinThread)
IMPLEMENT_DYNAMIC(CWnd,CCmdTarget)
IMPLEMENT_DYNAMIC(CFrameWnd,CWnd)
IMPLEMENT_DYNAMIC(CDocument,CCmdTarget)
IMPLEMENT_DYNAMIC(CView,CWnd)
C:\Documents and Settings\catface\桌面\mfc teach\defframe3\MFC.CPP(51) : error C2065: 'lpszCCmdTarget' : undeclared identifier
C:\Documents and Settings\catface\桌面\mfc teach\defframe3\MFC.CPP(51) : error C2440: 'initializing' : cannot convert from 'int' to 'char *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\catface\桌面\mfc teach\defframe3\MFC.CPP(51) : error C2440: 'initializing' : cannot convert from 'unsigned int' to 'char *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\catface\桌面\mfc teach\defframe3\MFC.CPP(51) : error C2440: 'initializing' : cannot convert from 'const int' to 'char *'
Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
C:\Documents and Settings\catface\桌面\mfc teach\defframe3\MFC.CPP(51) : error C2440: 'initializing' : cannot convert from 'struct CRuntimeClass *' to 'int'