A Journey 2 Eternity

ON_WM_TIMER() message map probelm at Win64 Build

Posted on: November 12, 2007

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);

Advertisements
Tags:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Pages

Categories

November 2007
M T W T F S S
    Dec »
 1234
567891011
12131415161718
19202122232425
2627282930  

Blog Stats

  • 27,491 hits
%d bloggers like this: