HRMSDlg.obj:错误LNK2001:无法解析的外部符号“受保护:虚拟结构 AFX_MSGMAP const * __thiscall CAboutDlg :: GetMessageMap(void)const“ (?GetMessageMap @ CAboutDlg @@ MBEPBUAFX_MSGMAP @@ XZ) 1> D:\ HRMS \ Debug \ HRMS.exe:致命错误LNK1120:1个无法解析的外部命令
HRMS.H CHRMSDlg类:公共CDialog { //构造 上市: void NonLoading(BOOL isLoading = FALSE);
CHRMSDlg(CWnd* pParent = NULL); // 标准构造函数
//初步数据
enum { IDD = IDD_HRMS_DIALOG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
//实现 受保护的: HICON m_hIcon;
// 生成的消息映射函数
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnFileRecord();
afx_msg void OnFileSearch();
afx_msg void OnInsertdept();
afx_msg void OnDeptDuty();
//afx_msg void OnHelp();
afx_msg void OnAbout();
afx_msg void OnAttendanceRecord();
afx_msg void OnTimecardList();
afx_msg void OnPay();
afx_msg void OnPaylip();
afx_msg void OnApplerfile();
afx_msg void OnRequestEmployee();
afx_msg void OnUserRegister();
afx_msg void OnModiCode();
afx_msg void OnExit();
afx_msg void OnPortfolio();
afx_msg void OnPortfolioList();
afx_msg void OnExport();
afx_msg void OnApplerlist();
afx_msg void OnResetland();
afx_msg void OnQuitland();
afx_msg void OnReauestlist();
afx_msg void OnAgreementlist();
afx_msg void OnLaborage();
afx_msg void OnHumanRedeploy();
afx_msg void OnExamineApplicant();
afx_msg void OnExamineList();
afx_msg void OnLaborageRecord();
afx_msg void OnLeaveitem();
afx_msg void OnLeavelist();
DECLARE_MESSAGE_MAP()
HRMS.cpp CAboutDlg类:公共CDialog { 上市: CAboutDlg();
enum { IDD = IDD_ABOUTBOX };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
//实现 受保护的: DECLARE_MESSAGE_MAP() };
CAboutDlg::CAboutDlg() : CDialog(IDD_ABOUTBOX)
{
}
void CAboutDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
}
BEGIN_MESSAGE_MAP(CHRMSDlg, CDialog)
ON_WM_SYSCOMMAND()
ON_WM_PAINT()
ON_WM_QUERYDRAGICON()
ON_COMMAND(IDM_FILE_RECORD, OnFileRecord)
ON_COMMAND(IDM_FILE_SEARCH, OnFileSearch)
ON_COMMAND(IDM_INSERTDEPT, OnInsertdept)
ON_COMMAND(IDM_DEPT_DUTY, OnDeptDuty)
ON_COMMAND(ID_ABOUT, OnAbout)
ON_COMMAND(ID_ATTENDANCE_RECORD, OnAttendanceRecord)
ON_COMMAND(IDM_TIMECARD_LIST, OnTimecardList)
ON_COMMAND(IDM_PAY, OnPay)
ON_COMMAND(IDM_PAYLIP, OnPaylip)
ON_COMMAND(IDM_APPLERFILE, OnApplerfile)
ON_COMMAND(IDM_REQUEST_EMPLOYEE, OnRequestEmployee)
ON_COMMAND(ID_USER_REGISTER, OnUserRegister)
ON_COMMAND(IDM_MODI_CODE, OnModiCode)
ON_COMMAND(IDM_EXIT, OnExit)
ON_COMMAND(IDM_PORTFOLIO, OnPortfolio)
ON_COMMAND(IDM_PORTFOLIO_LIST, OnPortfolioList)
ON_COMMAND(IDM_EXPORT, OnExport)
ON_COMMAND(IDM_APPLERLIST, OnApplerlist)
ON_COMMAND(IDM_RESETLAND, OnResetland)
ON_COMMAND(IDM_QUITLAND, OnQuitland)
ON_COMMAND(IDM_REAUESTLIST, OnReauestlist)
ON_COMMAND(IDM_AGREEMENTLIST, OnAgreementlist)
ON_COMMAND(IDM_LABORAGE, OnLaborage)
ON_COMMAND(IDM_HUMAN_REDEPLOY, OnHumanRedeploy)
ON_COMMAND(IDM_EXAMINE_APPLICANT, OnExamineApplicant)
ON_COMMAND(IDM_EXAMINE_LIST, OnExamineList)
ON_COMMAND(ID_LABORAGE_RECORD, OnLaborageRecord)
ON_COMMAND(IDM_LEAVEITEM, OnLeaveitem)
ON_COMMAND(IDM_LEAVELIST, OnLeavelist)
END_MESSAGE_MAP()