Thursday, October 25, 2007

ON_WM_TIMER() message map probelm at Win64 Build

At VC++ 6.0 ON_WM_TIMER() Function prototype is

afx_msg void OnTimer (UINT nIDEvent);

Which get a compilation error when u builds it at Windows 64-bit. So use the new function prototype is

afx_msg void OnTimer (UINT_PTR nIDEvent);

No comments: