转自VC错误:http://www.vcerror.com/?p=1568
问题描述:
在把VC6.0 工程转到VS2005工程中遇到下面的问题:
error C2440: ‘static_cast’ : cannot convert from ‘UINT (__thiscall CMenuBar::* )(CPoint)’ to ‘LRESULT (__thiscall CWnd::* )(CPoint)’ Cast from base to derived requires dynamic_cast or static_cast
解决方法:
具体的解决方法参考文章:http://www.vcerror.com/?p=1568
问题描述:
在把VC6.0 工程转到VS2005工程中遇到下面的问题:
error C2440: ‘static_cast’ : cannot convert from ‘UINT (__thiscall CMenuBar::* )(CPoint)’ to ‘LRESULT (__thiscall CWnd::* )(CPoint)’ Cast from base to derived requires dynamic_cast or static_cast
解决方法:
具体的解决方法参考文章:http://www.vcerror.com/?p=1568