<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Typecasting error during compilation]]></title><description><![CDATA[<p dir="auto">Hi Victor,</p>
<p dir="auto">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..</p>
<p dir="auto">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 *)'<br />
1&gt;        None of the functions with this name in scope match the target type<br />
1&gt;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 *)'<br />
1&gt;        None of the functions with this name in scope match the target type<br />
1&gt;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 *)'<br />
1&gt;        None of the functions with this name in scope match the target type<br />
1&gt;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)'<br />
1&gt;        None of the functions with this name in scope match the target type<br />
1&gt;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)'<br />
1&gt;        None of the functions with this name in scope match the target type<br />
1&gt;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)'<br />
1&gt;        None of the functions with this name in scope match the target type</p>
<p dir="auto">Thanks and regards,</p>
<p dir="auto">Antony Vasanth</p>
]]></description><link>https://forum.netxms.org/topic/516/typecasting-error-during-compilation</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 08:52:57 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/516.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 17 Nov 2008 09:58:18 GMT</pubDate><ttl>60</ttl></channel></rss>