title: error C2440: 'static_cast' : cannot convert from 'long' to 'LRESULT'
body: <p>I am converting my project from a 32 bit version to 64 bit version, when compiling the project in 64 bit, i get the below error.</p>
  
  <pre><code>Error   2   error C2440: 'static_cast' : cannot convert from 'long (__cdecl BrnDefDlgClass::* )(UINT,long)' to 'LRESULT (__cdecl CWnd::* )(WPARAM,LPARAM)'  C:\Program Files (x86)\...\CXX\TEST.CXX 854 1   cfg
  </code></pre>
  
  <p>this error points me to below line of code.</p>
  
  <pre><code>ON_MESSAGE        (WM_USER_AFTERCBNSELCHANGE,   OnAfterCBSelectMsg)
  </code></pre>
  
  <p>advice please why would this error occur.</p>
  
  <p>Thanks</p>