The error c2009 should enter the preprocessor directive
Time:10-19
void Iputdlg: : OnEnChangeEdit2 () { //TODO: if the control is RICHEDIT control, it will not be //send the notice, unless the rewrite CDialogEx: : OnInitDialog () //function and call the CRichEditCtrl (.) SetEventMask (), //at the same time the ENM_CHANGE flag "or" operation to the mask,
# 1015
//TODO: add the control notification handler code } Compile the results below The error C2009: should input the preprocessor directive, but found a "1"
CodePudding user response:
What is the meaning of # 1015?
I guess the code is not completed, intentionally put a wrong point, convenient and easy to locate the next time you open to the code //# 1015 block
CodePudding user response:
MFCAppDlg. Obj: error LNK2001: cannot resolve the external symbol of "public: void __thiscall CMFCAppDlg: : OnBnClickedCancel (void)" (? OnBnClickedCancel @ CMFCAppDlg @ @ QAEXXZ) 1> F: \ \ MFCApp \ Debug \ MFCApp vs file. Exe: fatal error LNK1120: one cannot resolve the external command