|
求助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 后还是出错的,请各位大侠帮忙了
|
|