deodatt
Newbie level 2
Hi,
I need to convert my existing vc++ 6.0 project to visual studio 2005.
This is my second project to which I am trying to upgrade, but there are new some problems that i am facing..
lot of errors i have resolved in this conversion or upgrade.
please help me in resolving these errors as this may help lot of people in trouble.
I hope all people who will reply to this post will continue to post the Replays to all the related errors to contribute Collaborated effort
posting one error here:
1>d:\extendedmfcclasses\source\basedialog.cpp(69) : error C2440: 'static_cast' : cannot convert from 'void (__thiscall CBaseDialog::* )(WPARAM,LPARAM)' to 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)'
and in .cpp file it points to this line.
BEGIN_MESSAGE_MAP(CBaseDialog, CDialog)
//{{AFX_MSG_MAP(CBaseDialog)
ON_BN_CLICKED(ID_DEFAULT_HELP, OnHelp)
ON_WM_HELPINFO()
ON_MESSAGE(UM_FW_CHANGE_MESSAGEBOX_POSITION, ChangeMessageBoxPosition) //}}AFX_MSG_MAP
ON_REGISTERED_MESSAGE(_afxMsgMouseWheel, OnRegisteredMouseWheel)
END_MESSAGE_MAP()
This code works fine in VC++ 6.0 however it gives this error while building in Visual Studio 2005.
thanks in advance for reply..
I need to convert my existing vc++ 6.0 project to visual studio 2005.
This is my second project to which I am trying to upgrade, but there are new some problems that i am facing..
lot of errors i have resolved in this conversion or upgrade.
please help me in resolving these errors as this may help lot of people in trouble.
I hope all people who will reply to this post will continue to post the Replays to all the related errors to contribute Collaborated effort
posting one error here:
1>d:\extendedmfcclasses\source\basedialog.cpp(69) : error C2440: 'static_cast' : cannot convert from 'void (__thiscall CBaseDialog::* )(WPARAM,LPARAM)' to 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)'
and in .cpp file it points to this line.
BEGIN_MESSAGE_MAP(CBaseDialog, CDialog)
//{{AFX_MSG_MAP(CBaseDialog)
ON_BN_CLICKED(ID_DEFAULT_HELP, OnHelp)
ON_WM_HELPINFO()
ON_MESSAGE(UM_FW_CHANGE_MESSAGEBOX_POSITION, ChangeMessageBoxPosition) //}}AFX_MSG_MAP
ON_REGISTERED_MESSAGE(_afxMsgMouseWheel, OnRegisteredMouseWheel)
END_MESSAGE_MAP()
This code works fine in VC++ 6.0 however it gives this error while building in Visual Studio 2005.
thanks in advance for reply..