<?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[error libnxlp]]></title><description><![CDATA[<p dir="auto">Hi Victor,<br />
I have come across the following error during compilation.</p>
<p dir="auto">--------------------Configuration: libnxlp - Win32 Release UNICODE--------------------<br />
Compiling...<br />
main.cpp<br />
parser.cpp<br />
C:\shownet\netxms-0.2.24\src\libnxlp\parser.cpp(311) : error C2679: binary '=' : no operator defined which takes a right-hand operand of type 'const char *' (or there is no acceptable conversion)<br />
C:\shownet\netxms-0.2.24\src\libnxlp\parser.cpp(325) : error C2679: binary '=' : no operator defined which takes a right-hand operand of type 'const char *' (or there is no acceptable conversion)<br />
C:\shownet\netxms-0.2.24\src\libnxlp\parser.cpp(436) : error C2664: 'strtoul' : cannot convert parameter 1 from 'class String' to 'const char *'<br />
        No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called<br />
C:\shownet\netxms-0.2.24\src\libnxlp\parser.cpp(439) : error C2440: 'type cast' : cannot convert from 'class String' to 'const char *'<br />
        No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called<br />
C:\shownet\netxms-0.2.24\src\libnxlp\parser.cpp(491) : error C2664: 'AddString' : cannot convert parameter 1 from 'const char *' to 'const unsigned short *'<br />
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast<br />
C:\shownet\netxms-0.2.24\src\libnxlp\parser.cpp(494) : error C2664: 'AddString' : cannot convert parameter 1 from 'const char *' to 'const unsigned short *'<br />
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast<br />
C:\shownet\netxms-0.2.24\src\libnxlp\parser.cpp(497) : error C2664: 'AddString' : cannot convert parameter 1 from 'const char *' to 'const unsigned short *'<br />
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast<br />
C:\shownet\netxms-0.2.24\src\libnxlp\parser.cpp(500) : error C2664: 'AddString' : cannot convert parameter 1 from 'const char *' to 'const unsigned short *'<br />
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast<br />
C:\shownet\netxms-0.2.24\src\libnxlp\parser.cpp(503) : error C2664: 'AddString' : cannot convert parameter 1 from 'const char *' to 'const unsigned short *'<br />
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast<br />
C:\shownet\netxms-0.2.24\src\libnxlp\parser.cpp(506) : error C2664: 'AddString' : cannot convert parameter 1 from 'const char *' to 'const unsigned short *'<br />
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast<br />
C:\shownet\netxms-0.2.24\src\libnxlp\parser.cpp(509) : error C2664: 'AddString' : cannot convert parameter 1 from 'const char *' to 'const unsigned short *'<br />
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast<br />
C:\shownet\netxms-0.2.24\src\libnxlp\parser.cpp(512) : error C2664: 'AddString' : cannot convert parameter 1 from 'const char *' to 'const unsigned short *'<br />
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast<br />
C:\shownet\netxms-0.2.24\src\libnxlp\parser.cpp(515) : error C2664: 'AddString' : cannot convert parameter 1 from 'const char *' to 'const unsigned short *'<br />
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast<br />
C:\shownet\netxms-0.2.24\src\libnxlp\parser.cpp(551) : error C2664: 'strncpy' : cannot convert parameter 2 from 'class String' to 'const char *'<br />
        No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called<br />
rule.cpp<br />
C:\shownet\netxms-0.2.24\src\libnxlp\rule.cpp(46) : error C2664: 'regcomp' : cannot convert parameter 2 from 'class String' to 'const char *'<br />
        No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called<br />
C:\shownet\netxms-0.2.24\src\libnxlp\rule.cpp(151) : error C2664: 'AddString' : cannot convert parameter 1 from 'const char *' to 'const unsigned short *'<br />
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast<br />
C:\shownet\netxms-0.2.24\src\libnxlp\rule.cpp(161) : error C2664: 'AddString' : cannot convert parameter 1 from 'const char *' to 'const unsigned short *'<br />
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast<br />
C:\shownet\netxms-0.2.24\src\libnxlp\rule.cpp(166) : error C2664: 'GetMacro' : cannot convert parameter 1 from 'char [256]' to 'const unsigned short *'<br />
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast<br />
C:\shownet\netxms-0.2.24\src\libnxlp\rule.cpp(170) : error C2664: 'AddString' : cannot convert parameter 1 from 'const char *' to 'const unsigned short *'<br />
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast<br />
C:\shownet\netxms-0.2.24\src\libnxlp\rule.cpp(176) : error C2664: 'AddString' : cannot convert parameter 1 from 'const char *' to 'const unsigned short *'<br />
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast<br />
winfile.cpp<br />
Error executing cl.exe.</p>
<p dir="auto">Regards,</p>
]]></description><link>https://forum.netxms.org/topic/592/error-libnxlp</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 08:24:31 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/592.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 22 Jan 2009 08:27:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to error libnxlp on Fri, 23 Jan 2009 07:39:00 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">UNICODE build of libnxlp currently is not supported. This library used by server and logwatch subagent, both of them not using UNICODE as well.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/2868</link><guid isPermaLink="true">https://forum.netxms.org/post/2868</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Fri, 23 Jan 2009 07:39:00 GMT</pubDate></item></channel></rss>