I'm trying to move an app from VS6 to VS2005 and am getting some errors
in message map:
3>.\MyApp.cpp(720) : error C2440: 'static_cast' : cannot convert from 'void
(__thiscall CMyApp::* )(BOOL,HTASK)' to 'void (__thiscall
CWnd::* )(BOOL,DWORD)'
3> Cast from base to derived requires dynamic_cast or static_cast
on this line:
ON_WM_ACTIVATEAPP()
and:
3>.\MyApp.cpp(934) : error C2440: 'static_cast' : cannot convert from 'void
(__thiscall CMyApp::* )(UINT)' to 'BOOL (__thiscall
CCmdTarget::* )(UINT,NMHDR *,LRESULT *)'
3> None of the functions with this name in scope match the target
type
on this line:
ON_NOTIFY_EX(TBN_DROPDOWN, ID_DISPLAY_SOMETHING, OnDisplayButtonMenu)
What is the solution to this?
Thanks,
Drew