读书人

EVC移植到VS2005时error C2440: #039;stat

发布时间: 2012-02-15 12:09:44 作者: rapoo

求助EVC移植到VS2005时error C2440: 'static_cast'的问题
.\PwsSet.cpp(63) : error C2440: 'static_cast ' : cannot convert from 'int (__cdecl CPwsSet::* )(void) ' to 'void (__cdecl CWnd::* )(UINT,LPCTSTR) '
Cast from base to derived requires dynamic_cast or static_cast
在移植过程中显示的上面的错误,对应的语句是 ON_WM_SETTINGCHANGE( )
我加上 void 后还是出错的,请各位大侠帮忙了

[解决办法]
呵呵~,接分啦

读书人网 >WinCE

热点推荐