<?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[MessageList-&amp;gt;Values nur NULL-Werte]]></title><description><![CDATA[<p>Hallo<br />
Habe folgendes Problem:</p>
<p>In der <strong>MessageList</strong> stehen u.a. folgende Strings:<br />
<strong>2005=1234<br />
2010=ABCD</strong> usw.</p>
<p>MessageList-&gt;Names (2005, 2010) wird korrekt ausgelesen.<br />
MessageList-&gt;Values (1234, ABCD) übergibt nur NULL-Werte (bei allen Strings mit <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title="=)"
      alt="🙂"
    /><br />
MessageList-&gt;Strings (2005=1234) übergibt einen korrekten String</p>
<p>wo könnte das Problem liegen?<br />
Habe alle Dokus durchgelesen. Habe ich etwas übersehen?</p>
<pre><code class="language-cpp">TStringList *MessageList;
 String AnzeigeWert, testwert;
 int i;

    for (i = 0; i &lt; MessageList-&gt;Count; i++)
    {
        if (MessageList-&gt;Strings[i].Pos(&quot;=&quot;) &gt; 1)
        {
            AnzeigeWert = MessageList-&gt;Values[i];
            MsgName = MessageList-&gt;Names[i];

            testwert = MessageList-&gt;Strings[i]; // nur Test!
        }
    }
</code></pre>
<p>benutze z.Zt: Borland C++ Builder 6 unter Windows XP</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/125828/messagelist-gt-values-nur-null-werte</link><generator>RSS for Node</generator><lastBuildDate>Tue, 28 Jul 2026 14:20:59 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/125828.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 09 Nov 2005 19:22:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MessageList-&amp;gt;Values nur NULL-Werte on Wed, 09 Nov 2005 19:22:08 GMT]]></title><description><![CDATA[<p>Hallo<br />
Habe folgendes Problem:</p>
<p>In der <strong>MessageList</strong> stehen u.a. folgende Strings:<br />
<strong>2005=1234<br />
2010=ABCD</strong> usw.</p>
<p>MessageList-&gt;Names (2005, 2010) wird korrekt ausgelesen.<br />
MessageList-&gt;Values (1234, ABCD) übergibt nur NULL-Werte (bei allen Strings mit <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f642.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--slightly_smiling_face"
      title="=)"
      alt="🙂"
    /><br />
MessageList-&gt;Strings (2005=1234) übergibt einen korrekten String</p>
<p>wo könnte das Problem liegen?<br />
Habe alle Dokus durchgelesen. Habe ich etwas übersehen?</p>
<pre><code class="language-cpp">TStringList *MessageList;
 String AnzeigeWert, testwert;
 int i;

    for (i = 0; i &lt; MessageList-&gt;Count; i++)
    {
        if (MessageList-&gt;Strings[i].Pos(&quot;=&quot;) &gt; 1)
        {
            AnzeigeWert = MessageList-&gt;Values[i];
            MsgName = MessageList-&gt;Names[i];

            testwert = MessageList-&gt;Strings[i]; // nur Test!
        }
    }
</code></pre>
<p>benutze z.Zt: Borland C++ Builder 6 unter Windows XP</p>
]]></description><link>https://www.c-plusplus.net/forum/post/913176</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/913176</guid><dc:creator><![CDATA[Andresen]]></dc:creator><pubDate>Wed, 09 Nov 2005 19:22:08 GMT</pubDate></item><item><title><![CDATA[Reply to MessageList-&amp;gt;Values nur NULL-Werte on Wed, 09 Nov 2005 22:37:42 GMT]]></title><description><![CDATA[<p>Hallo</p>
<blockquote>
<p>wo könnte das Problem liegen?</p>
</blockquote>
<p>Keine Ahnung... du schreibst ja selber, das du mit Strings korrekt arbeiten kannst. Du beachtest aber schon das Strings/Names und Values jeweils andere Parameter haben? Du kannst nicht für Values einen Index übergeben, sondern den Namen des gewünschten Wertes.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/913442</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/913442</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Wed, 09 Nov 2005 22:37:42 GMT</pubDate></item><item><title><![CDATA[Reply to MessageList-&amp;gt;Values nur NULL-Werte on Thu, 10 Nov 2005 10:10:55 GMT]]></title><description><![CDATA[<p>Probier's mal so:</p>
<pre><code class="language-cpp">for (i = 0; i &lt; MessageList-&gt;Count; i++)
    {
         MsgName = MessageList-&gt;Names[i];
         AnzeigeWert = MessageList-&gt;Values[MsgName];
    }
</code></pre>
<p>Wie akari schon geschrieben hat, solltest Du Dir den Parameter der Values-Eigenschaft vielleicht noch mal anschauen.</p>
<p>Gruß,</p>
<p>Alexander</p>
]]></description><link>https://www.c-plusplus.net/forum/post/913700</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/913700</guid><dc:creator><![CDATA[Alexander Kempf]]></dc:creator><pubDate>Thu, 10 Nov 2005 10:10:55 GMT</pubDate></item><item><title><![CDATA[Reply to MessageList-&amp;gt;Values nur NULL-Werte on Thu, 10 Nov 2005 11:36:22 GMT]]></title><description><![CDATA[<p>So läuft es!<br />
Vielen Dank für eure Hilfe<br />
Gruß, Harald</p>
]]></description><link>https://www.c-plusplus.net/forum/post/913774</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/913774</guid><dc:creator><![CDATA[Andresen]]></dc:creator><pubDate>Thu, 10 Nov 2005 11:36:22 GMT</pubDate></item></channel></rss>