vc6.0转vs2013出现错误ON_WM_TIMER()

编译时候出现如下错

error C2440: 'static_cast' : cannot convert from 'void (__thiscall XXX::* )(void)' to 'void (__thiscall CWnd::* )(UINT_PTR)'


只需要吧对应的事件响应函数声明与实现的部分,函数的参数由UINT改为UINT_PTR即可。

猜你喜欢

转载自blog.csdn.net/bobopeng/article/details/40393485