I converted old C++ project to VS.Net 2010 with 4.0 Framework.
error C2440: 'static_cast' : cannot convert from 'void (__thiscall CChatView:: * )(LPARAM,WPARAM)' to 'LRESULT (__thiscall CWnd:: * )(WPARAM,LPARAM)'
// .cpp File
ON_MESSAGE(WM_ChatAddSize, OnChatAddSize)
void CChatView::OnChatAddSize(LPARAM lParam, WPARAM wParam)
// .h file
afx_msg void OnChatAddSize(LPARAM lParam, WPARAM wParam);
Help would be really appreciated.
Thanks