drawView.cpp F:\wjs\draw\drawView.cpp(266) :error C2039:'SetChecK' :is not a memberdrawView.cppF:\wjs\draw\drawView.cpp(266) :error C2039:'SetChecK' :is not a member of 'CCmdUI'c:\program files\microsoft visual studio\vc98\mfc\include\afxwin.h(1757)

来源:学生作业帮助网 编辑:六六作业网 时间:2024/11/27 09:10:51
drawView.cppF:\wjs\draw\drawView.cpp(266):errorC2039:''SetChecK'':isnotamemberdrawView.cppF:\wjs\draw\

drawView.cpp F:\wjs\draw\drawView.cpp(266) :error C2039:'SetChecK' :is not a memberdrawView.cppF:\wjs\draw\drawView.cpp(266) :error C2039:'SetChecK' :is not a member of 'CCmdUI'c:\program files\microsoft visual studio\vc98\mfc\include\afxwin.h(1757)
drawView.cpp F:\wjs\draw\drawView.cpp(266) :error C2039:'SetChecK' :is not a member
drawView.cpp
F:\wjs\draw\drawView.cpp(266) :error C2039:'SetChecK' :is not a member of 'CCmdUI'
c:\program files\microsoft visual studio\vc98\mfc\include\afxwin.h(1757) :see declaration of 'CCmdUI'
F:\wjs\draw\drawView.cpp(291) :error C2065:'m_nLineStyle' :undeclared identifier
F:\wjs\draw\drawView.cpp(308) :error C2065:'ID_DRAW_LINESTYLE_DASH' :undeclared identifier
F:\wjs\draw\drawView.cpp(333) :error C2039:'SetChecK' :is not a member of 'CCmdUI'
c:\program files\microsoft visual studio\vc98\mfc\include\afxwin.h(1757) :see declaration of 'CCmdUI'
F:\wjs\draw\drawView.cpp(335) :error C2039:'SetChecK' :is not a member of 'CCmdUI'
c:\program files\microsoft visual studio\vc98\mfc\include\afxwin.h(1757) :see declaration of 'CCmdUI'
F:\wjs\draw\drawView.cpp(393) :error C2039:'EXtFlooFill' :is not a member of 'CDC'
c:\program files\microsoft visual studio\vc98\mfc\include\afxwin.h(636) :see declaration of 'CDC'

drawView.cpp F:\wjs\draw\drawView.cpp(266) :error C2039:'SetChecK' :is not a memberdrawView.cppF:\wjs\draw\drawView.cpp(266) :error C2039:'SetChecK' :is not a member of 'CCmdUI'c:\program files\microsoft visual studio\vc98\mfc\include\afxwin.h(1757)
2939错误基本上都是使用的符号未定义造成的,检查下是不是调用的时候名称写错了,漏写字母或者少写字母或者大小写弄错了之类的.
至于2065那两个是函数名未定义,看看包含的头文件中有没有包含着两个函数,是不是漏写头文件了.