upgrading app from vc6 to vc.net
-
HI I have just upgraded my application written in VC++ 6.0 to VC++.net. i am receiving errors in message map. the description of error is error C2440: 'static_cast' : cannot convert from 'void (__thiscall CProjectView::* )(WPARAM,LPARAM)' to 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)' i am quite frustrated. Is anybody out there who understands what is the possible cause of this error.
-
HI I have just upgraded my application written in VC++ 6.0 to VC++.net. i am receiving errors in message map. the description of error is error C2440: 'static_cast' : cannot convert from 'void (__thiscall CProjectView::* )(WPARAM,LPARAM)' to 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)' i am quite frustrated. Is anybody out there who understands what is the possible cause of this error.
The return types don't match. One is a
void
and the other is anLRESULT
Author of the romantic comedy Summer Love and Some more Cricket [New Win]