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