Day to day work issues we find with windows, mac, unix and internet, software apps etc. we get many many questions and find out some weird things tips and tricks about windows OS that might help others, some of these will help others and help our clients setup software to there requirements.
Wednesday, 1 June 2011
VC2008 64bit error C2440: 'static_cast' : cannot convert from 'void (__cdecl CTestappDlg::* )(UINT)' to 'void (__cdecl CWnd::* )(UINT_PTR)' fix
Change in .h header file
afx_msg void OnTimer(UINT nIDEvent);
to afx_msg void OnTimer(UINT_PTR nIDEvent);
and change in .cpp file
void <yourapp>::OnTimer(UINT nIDEvent) to void <yourapp>::OnTimer(UINT_PTR nIDEvent)
No comments:
Post a Comment