出错,怎么更正?
protected:
HICON m_hIcon;
BOOL m_bIsPlay;
BOOL m_bIsPause;
MCIDEVICEID m_MCIDeviceID;
// Generated message map functions
//{{AFX_MSG(CMvcDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnButtonOpen();
afx_msg void OnButtonPause();
afx_msg void OnButtonPlay();
afx_msg void OnButtonStop();
afx_msg void OnButtonStrPlay();
virtual void OnOK();
//}}AFX_MSG
afx_msg LRESULT OnMciNotify(WPARAM wParam,LPARAM IParam);
DECLARE_MESSAGE_MAP()
};
--------------------Configuration: mvc - Win32 Debug--------------------
Compiling...
StdAfx.cpp
Compiling...
mvc.cpp
mvcDlg.cpp
Generating Code...
Linking...
mvcDlg.obj : error LNK2001: unresolved external symbol "protected: long __thiscall CMvcDlg::OnMciNotify(unsigned int,long)" (?OnMciNotify@CMvcDlg@@IAEJIJ@Z)
Debug/mvc.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
mvc.exe - 2 error(s), 0 warning(s)