该程序在VS2005中运行为什么会出现以下错误?(红字是错误)。
BEGIN_MESSAGE_MAP(CRecordHWndDlg, CDialog)//{{AFX_MSG_MAP(CRecordHWndDlg)
ON_WM_SYSCOMMAND()
ON_WM_PAINT()
ON_WM_QUERYDRAGICON()
ON_BN_CLICKED(IDC_REC_START, OnRecStart)
ON_BN_CLICKED(IDC_REC_STOP, OnRecStop)
ON_MESSAGE(MM_WIM_OPEN,OnMM_WIM_OPEN)
ON_MESSAGE(MM_WIM_DATA,OnMM_WIM_DATA)
ON_MESSAGE(MM_WIM_CLOSE,OnMM_WIM_CLOSE)
ON_MESSAGE(MM_WOM_OPEN,OnMM_WOM_OPEN)
ON_MESSAGE(MM_WOM_DONE,OnMM_WOM_DONE)
ON_MESSAGE(MM_WOM_CLOSE,OnMM_WOM_CLOSE)
ON_WM_DESTROY()
ON_BN_CLICKED(IDC_PLAY_START, OnPlayStart)
ON_BN_CLICKED(IDC_PLAY_PAUSE, OnPlayPause)
ON_BN_CLICKED(IDC_PLAY_STOP, OnPlayStop)
ON_WM_TIMER()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
1>f:\vs下载的程序\13297912基于api录音机程序\recordhwnd\recordhwnddlg.cpp(97) : error C2440: 'static_cast' : cannot convert from 'void (__thiscall CRecordHWndDlg::* )(UINT,LONG)' to 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)'
1> None of the functions with this name in scope match the target type
1>f:\vs下载的程序\13297912基于api录音机程序\recordhwnd\recordhwnddlg.cpp(98) : error C2440: 'static_cast' : cannot convert from 'void (__thiscall CRecordHWndDlg::* )(UINT,LONG)' to 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)'
1> None of the functions with this name in scope match the target type
1>f:\vs下载的程序\13297912基于api录音机程序\recordhwnd\recordhwnddlg.cpp(99) : error C2440: 'static_cast' : cannot convert from 'void (__thiscall CRecordHWndDlg::* )(UINT,LONG)' to 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)'
1> None of the functions with this name in scope match the target type
1>f:\vs下载的程序\13297912基于api录音机程序\recordhwnd\recordhwnddlg.cpp(100) : error C2440: 'static_cast' : cannot convert from 'void (__thiscall CRecordHWndDlg::* )(UINT,LONG)' to 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)'
1> None of the functions with this name in scope match the target type
1>f:\vs下载的程序\13297912基于api录音机程序\recordhwnd\recordhwnddlg.cpp(101) : error C2440: 'static_cast' : cannot convert from 'void (__thiscall CRecordHWndDlg::* )(UINT,LONG)' to 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)'
1> None of the functions with this name in scope match the target type
1>f:\vs下载的程序\13297912基于api录音机程序\recordhwnd\recordhwnddlg.cpp(102) : error C2440: 'static_cast' : cannot convert from 'void (__thiscall CRecordHWndDlg::* )(UINT,LONG)' to 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)'
1> None of the functions with this name in scope match the target type
1>Build log was saved at "file://f:\VS下载的程序\13297912基于API录音机程序\RecordHWnd\Debug\BuildLog.htm"