MFC问题,执行时出错,怎么解决?
Linking...YUANGONGXINCHOUView.obj:errorLNK2005:"protected:void__thiscallCYUANGONGXINC...
Linking...
YUANGONGXINCHOUView.obj : error LNK2005: "protected: void __thiscall CYUANGONGXINCHOUView::OnButtonAdd(void)" (?OnButtonAdd@CYUANGONGXINCHOUView@@IAEXXZ) already defined in AddDlg.obj
AddDlg.obj : error LNK2001: unresolved external symbol "protected: void __thiscall CAddDlg::OnRecAdd(void)" (?OnRecAdd@CAddDlg@@IAEXXZ)
Debug/YUANGONGXINCHOU.exe : fatal error LNK1120: 1 unresolved externals
执行 link.exe 时出错. 展开
YUANGONGXINCHOUView.obj : error LNK2005: "protected: void __thiscall CYUANGONGXINCHOUView::OnButtonAdd(void)" (?OnButtonAdd@CYUANGONGXINCHOUView@@IAEXXZ) already defined in AddDlg.obj
AddDlg.obj : error LNK2001: unresolved external symbol "protected: void __thiscall CAddDlg::OnRecAdd(void)" (?OnRecAdd@CAddDlg@@IAEXXZ)
Debug/YUANGONGXINCHOU.exe : fatal error LNK1120: 1 unresolved externals
执行 link.exe 时出错. 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询