smallcoder
January 14th, 2003, 04:12 PM
i convert my code from vc6 to vc net
and all my code work but got this little problem
(77): error C2440: 'static_cast' : cannot convert from 'LRESULT
(__thiscall CClientThread::* )(WPARAM,LPARAM)' to 'LRESULT
(__thiscall CWnd::* )(WPARAM,LPARAM)'
it work if i ingore but i would like to resovle this problem can anyone give me a little help
it is in the message map
BEGIN_MESSAGE_MAP(CClientThread, CWinThread)
//{{AFX_MSG_MAP(CClientThread)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_MSG_MAP
ON_MESSAGE(WM_DESTROYDATACONNECTION, OnDestroyDataConnection)
END_MESSAGE_MAP()
at this point
ON_MESSAGE(WM_DESTROYDATACONNECTION,
OnDestroyDataConnection)
and all my code work but got this little problem
(77): error C2440: 'static_cast' : cannot convert from 'LRESULT
(__thiscall CClientThread::* )(WPARAM,LPARAM)' to 'LRESULT
(__thiscall CWnd::* )(WPARAM,LPARAM)'
it work if i ingore but i would like to resovle this problem can anyone give me a little help
it is in the message map
BEGIN_MESSAGE_MAP(CClientThread, CWinThread)
//{{AFX_MSG_MAP(CClientThread)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_MSG_MAP
ON_MESSAGE(WM_DESTROYDATACONNECTION, OnDestroyDataConnection)
END_MESSAGE_MAP()
at this point
ON_MESSAGE(WM_DESTROYDATACONNECTION,
OnDestroyDataConnection)