Linking...
vDlg.obj : error LNK2001: unresolved external symbol "public: __thiscall CBackupdlg::CBackupdlg(class CWnd *)" (??0CBackupdlg@@QAE@PAVCWnd@@@Z)
Debug/v.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
vDlg.obj : error LNK2001: unresolved external symbol "public: __thiscall CBackupdlg::CBackupdlg(class CWnd *)" (??0CBackupdlg@@QAE@PAVCWnd@@@Z)
Debug/v.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
加在link的选项中
你找一下你的CPP里有没有这个函数
你找一下你的CPP里有没有这个函数"没有找到这个函数,我该怎么加进去?
加在link的选项中??我应该怎么做,麻烦解答一下好吗?我急死了,笨死了
#define AFX_BACKUPDLG_H__9B78E624_507A_4E40_A674_1BD59FC65E69__INCLUDED_#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Backupdlg.h : header file
///////////////////////////////////////////////////////////////////////////////
// CBackupdlg dialogclass CBackupdlg : public CDialog
{
// Construction
public:
CBackupdlg(CWnd* pParent = NULL); // standard constructor// Dialog Data
//{{AFX_DATA(CBackupdlg) // NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CBackupdlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL// Implementation
protected: // Generated message map functions
//{{AFX_MSG(CBackupdlg)
// NOTE: the ClassWizard will add member functions here
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.#endif // !defined(AFX_BACKUPDLG_H__9B78E624_507A_4E40_A674_1BD59FC65E69__INCLUDED_)
{}
vDlg.cpp
fatal error C1063:
Command line warning D4028 : minimal rebuild failure, reverting to normal build
Error executing cl.exe.v.exe - 1 error(s), 1 warning(s)
vDlg.cpp
e:\valentone\v\backupdlg.h(22) : error C2535: '__thiscall CBackupdlg::CBackupdlg(class CWnd *)' : member function already defined or declared
e:\valentone\v\backupdlg.h(17) : see declaration of 'CBackupdlg::CBackupdlg'
Error executing cl.exe.v.exe - 1 error(s), 0 warning(s)