News:

We really need your input in this questionnaire

Main Menu

Typecasting error during compilation

Started by antonyvasanth, November 17, 2008, 11:58:18 AM

Previous topic - Next topic

antonyvasanth

Hi Victor,

I am getting the following typecast error .I have posted the same error which i have obtained here..Kindly please help me to resolve this..


c:\documents and settings\user\desktop\netxms-0.2.22\netxms-0.2.22\src\console\win32\objectbrowser.cpp(118) : error C2440: 'static_cast' : cannot convert from 'void (__thiscall CObjectBrowser::* )(LPNMTREEVIEWA,LRESULT *)' to 'void (__thiscall CCmdTarget::* )(NMHDR *,LRESULT *)'
1>        None of the functions with this name in scope match the target type
1>c:\documents and settings\user\desktop\netxms-0.2.22\netxms-0.2.22\src\console\win32\objectbrowser.cpp(119) : error C2440: 'static_cast' : cannot convert from 'void (__thiscall CObjectBrowser::* )(LPNMTVDISPINFOA,LRESULT *)' to 'void (__thiscall CCmdTarget::* )(NMHDR *,LRESULT *)'
1>        None of the functions with this name in scope match the target type
1>c:\documents and settings\user\desktop\netxms-0.2.22\netxms-0.2.22\src\console\win32\objectbrowser.cpp(120) : error C2440: 'static_cast' : cannot convert from 'void (__thiscall CObjectBrowser::* )(LPNMTREEVIEWA,LRESULT *)' to 'void (__thiscall CCmdTarget::* )(NMHDR *,LRESULT *)'
1>        None of the functions with this name in scope match the target type
1>c:\documents and settings\user\desktop\netxms-0.2.22\netxms-0.2.22\src\console\win32\objectbrowser.cpp(121) : error C2440: 'static_cast' : cannot convert from 'void (__thiscall CObjectBrowser::* )(WPARAM,LPARAM)' to 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)'
1>        None of the functions with this name in scope match the target type
1>c:\documents and settings\user\desktop\netxms-0.2.22\netxms-0.2.22\src\console\win32\objectbrowser.cpp(122) : error C2440: 'static_cast' : cannot convert from 'void (__thiscall CObjectBrowser::* )(WPARAM,TCHAR *)' to 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)'
1>        None of the functions with this name in scope match the target type
1>c:\documents and settings\user\desktop\netxms-0.2.22\netxms-0.2.22\src\console\win32\objectbrowser.cpp(123) : error C2440: 'static_cast' : cannot convert from 'void (__thiscall CObjectBrowser::* )(WPARAM,LPARAM)' to 'LRESULT (__thiscall CWnd::* )(WPARAM,LPARAM)'
1>        None of the functions with this name in scope match the target type



Thanks and regards,

Antony Vasanth