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.
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
this error points me to below line of code.
ON_MESSAGE (WM_USER_AFTERCBNSELCHANGE, OnAfterCBSelectMsg)
advice please why would this error occur.
Thanks