VC++编程问题
这个错误是不我VC版本不行,缺少的东西?如何解决?D:\程序制作\Ex_Ctrls1\Ex_CtrlsDlg.cpp(184):errorC2039:'FindStrin...
这个错误是不我VC版本不行,缺少的东西?如何解决?
D:\程序制作\Ex_Ctrls1\Ex_CtrlsDlg.cpp(184) : error C2039: 'FindString' : is not a member of 'CString'
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(368) : see declaration of 'CString'
D:\程序制作\Ex_Ctrls1\Ex_CtrlsDlg.cpp(186) : error C2039: 'AddString' : is not a member of 'CString'
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(368) : see declaration of 'CString'
D:\程序制作\Ex_Ctrls1\Ex_CtrlsDlg.cpp(193) : error C2039: 'SetItemDataPtr' : is not a member of 'CString'
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(368) : see declaration of 'CString'
D:\程序制作\Ex_Ctrls1\Ex_CtrlsDlg.cpp(195) : error C2039: 'SetCurSel' : is not a member of 'CString'
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(368) : see declaration of 'CString'
D:\程序制作\Ex_Ctrls1\Ex_CtrlsDlg.cpp(196) : error C2065: 'OnChangeCombo' : undeclared identifier
D:\程序制作\Ex_Ctrls1\Ex_CtrlsDlg.cpp(201) : error C2039: 'GetCurSel' : is not a member of 'CString'
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(368) : see declaration of 'CString'
D:\程序制作\Ex_Ctrls1\Ex_CtrlsDlg.cpp(204) : error C2228: left of '.ResetContent' must have class/struct/union type
D:\程序制作\Ex_Ctrls1\Ex_CtrlsDlg.cpp(206) : error C2039: 'GetItemDataPtr' : is not a member of 'CString'
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(368) : see declaration of 'CString'
D:\程序制作\Ex_Ctrls1\Ex_CtrlsDlg.cpp(209) : error C2228: left of '.AddString' must have class/struct/union type
D:\程序制作\Ex_Ctrls1\Ex_CtrlsDlg.cpp(211) : error C2228: left of '.AddString' must have class/struct/union type
D:\程序制作\Ex_Ctrls1\Ex_CtrlsDlg.cpp(214) : error C2228: left of '.AddString' must have class/struct/union type
D:\程序制作\Ex_Ctrls1\Ex_CtrlsDlg.cpp(223) : error C2039: 'GetCount' : is not a member of 'CString'
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(368) : see declaration of 'CString'
D:\程序制作\Ex_Ctrls1\Ex_CtrlsDlg.cpp(224) : error C2039: 'GetItemDataPtr' : is not a member of 'CString'
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(368) : see declaration of 'CString'
InputDlg.cpp
D:\程序制作\Ex_Ctrls1\InputDlg.cpp(65) : error C2039: 'trimLeft' : is not a member of 'CString'
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(368) : see declaration of 'CString'
D:\程序制作\Ex_Ctrls1\InputDlg.cpp(80) : error C2039: 'SetRange' : is not a member of 'CScrollBar' 展开
D:\程序制作\Ex_Ctrls1\Ex_CtrlsDlg.cpp(184) : error C2039: 'FindString' : is not a member of 'CString'
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(368) : see declaration of 'CString'
D:\程序制作\Ex_Ctrls1\Ex_CtrlsDlg.cpp(186) : error C2039: 'AddString' : is not a member of 'CString'
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(368) : see declaration of 'CString'
D:\程序制作\Ex_Ctrls1\Ex_CtrlsDlg.cpp(193) : error C2039: 'SetItemDataPtr' : is not a member of 'CString'
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(368) : see declaration of 'CString'
D:\程序制作\Ex_Ctrls1\Ex_CtrlsDlg.cpp(195) : error C2039: 'SetCurSel' : is not a member of 'CString'
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(368) : see declaration of 'CString'
D:\程序制作\Ex_Ctrls1\Ex_CtrlsDlg.cpp(196) : error C2065: 'OnChangeCombo' : undeclared identifier
D:\程序制作\Ex_Ctrls1\Ex_CtrlsDlg.cpp(201) : error C2039: 'GetCurSel' : is not a member of 'CString'
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(368) : see declaration of 'CString'
D:\程序制作\Ex_Ctrls1\Ex_CtrlsDlg.cpp(204) : error C2228: left of '.ResetContent' must have class/struct/union type
D:\程序制作\Ex_Ctrls1\Ex_CtrlsDlg.cpp(206) : error C2039: 'GetItemDataPtr' : is not a member of 'CString'
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(368) : see declaration of 'CString'
D:\程序制作\Ex_Ctrls1\Ex_CtrlsDlg.cpp(209) : error C2228: left of '.AddString' must have class/struct/union type
D:\程序制作\Ex_Ctrls1\Ex_CtrlsDlg.cpp(211) : error C2228: left of '.AddString' must have class/struct/union type
D:\程序制作\Ex_Ctrls1\Ex_CtrlsDlg.cpp(214) : error C2228: left of '.AddString' must have class/struct/union type
D:\程序制作\Ex_Ctrls1\Ex_CtrlsDlg.cpp(223) : error C2039: 'GetCount' : is not a member of 'CString'
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(368) : see declaration of 'CString'
D:\程序制作\Ex_Ctrls1\Ex_CtrlsDlg.cpp(224) : error C2039: 'GetItemDataPtr' : is not a member of 'CString'
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(368) : see declaration of 'CString'
InputDlg.cpp
D:\程序制作\Ex_Ctrls1\InputDlg.cpp(65) : error C2039: 'trimLeft' : is not a member of 'CString'
c:\program files\microsoft visual studio\vc98\mfc\include\afx.h(368) : see declaration of 'CString'
D:\程序制作\Ex_Ctrls1\InputDlg.cpp(80) : error C2039: 'SetRange' : is not a member of 'CScrollBar' 展开
6个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询