ON_WM_TIMER() void (__cdecl CtestDlg::* )(UINT)”转换为“void (__cdecl CWnd::* )(UINT_PTR)本文来自: http://ww
2015-07-13 10:33
459 查看
32位转换成64位编译器,编译后出现如下编译错误:
error C2440: 'static_cast' : cannot convert from 'void (__cdecl CFrProgressDlg::* )(UINT)' to 'void (__cdecl CWnd::* )(UINT_PTR)'
出现错误的一行为:
ON_WM_TIMER()
解决方法:
afx_msg void OnTimer(UINT nIDEvent);
改为
afx_msg void OnTimer(UINT_PTR nIDEvent);
本文来自: http://www.greensoftcode.net 详细来源请参考:http://www.greensoftcode.net/techntxt/20143139535735036760
error C2440: 'static_cast' : cannot convert from 'void (__cdecl CFrProgressDlg::* )(UINT)' to 'void (__cdecl CWnd::* )(UINT_PTR)'
出现错误的一行为:
ON_WM_TIMER()
解决方法:
afx_msg void OnTimer(UINT nIDEvent);
改为
afx_msg void OnTimer(UINT_PTR nIDEvent);
本文来自: http://www.greensoftcode.net 详细来源请参考:http://www.greensoftcode.net/techntxt/20143139535735036760
相关文章推荐
- 网络参数
- 网络爬虫(四) Java实现简单的网络爬虫
- HTTP status codes
- http://www.cnblogs.com/flashsky/articles/642720.html
- TCP/UDP网络性能测试工具 - Netperf (zz) ..网络测试工具
- BP神经网络及其在教学质量评价中 的应用
- HTTP协议相关内容及web通信原理的理解
- 如何使用云桌面系统提高涉密网络安全性与方便性
- 7月第1周网络安全报告:发现放马站点167个
- Android 判断手机是否连接网络
- Android--HttpURLConnection及HttpClient选择
- android 截图,网络发送,只需1.8秒
- Eworkpal-ESN(企业社交网络)功能
- 网络爬虫(三) Java实现简单的网络爬虫
- 网络爬虫(二) 网络爬虫基本原理
- Android--网络连接之HttpURLConnection和HttpClient
- http协议详解
- sql 分页(原:http://www.cnblogs.com/fly_zj/archive/2010/07/06/1772536.html)
- 网络爬虫(一) 网络爬虫基本原理
- 工作中的为人处世