How to Resolve the Below Error?
-
error C2440: 'static_cast' : cannot convert from 'void (__thiscall CTestFindWindowDlg::* )(WPARAM,LPARAM)' to 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)' . While Iam Doing Broadcasting Message For Multiple Instance.......? Can Anyone please Help me out?
-
error C2440: 'static_cast' : cannot convert from 'void (__thiscall CTestFindWindowDlg::* )(WPARAM,LPARAM)' to 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)' . While Iam Doing Broadcasting Message For Multiple Instance.......? Can Anyone please Help me out?
You've declared the function with a
void
return type. Change that to return anLRESULT
.«_Superman_» _I love work. It gives me something to do between weekends.
_Microsoft MVP (Visual C++) (October 2009 - September 2013)
-
You've declared the function with a
void
return type. Change that to return anLRESULT
.«_Superman_» _I love work. It gives me something to do between weekends.
_Microsoft MVP (Visual C++) (October 2009 - September 2013)