<?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[TStream zu AnsiString]]></title><description><![CDATA[<p>Es gab hierzu schon ein paar Themen<br />
Aber</p>
<pre><code class="language-cpp">//Indi verbindung funktioniert
    IndiMftp-&gt;List(liste,&quot;&quot;,false);
    vector&lt;AnsiString&gt; p;
    for(int x=0; x&lt;liste-&gt;Count; x++){
        //Folgendes habe ich von hier und BCC-Hilfe
        TStream* stream = new TMemoryStream();
        TStrings *list = new TStringList();
        IndiMftp-&gt;Get(liste-&gt;operator [](x),stream);
        //stream-&gt;Size gibt größe der Datei aus (122byte)
        //sollte also nicht leer sein
        list-&gt;LoadFromStream(stream);
        //Aber list bleibt leer
        p.push_back(list-&gt;Text);
        delete list;
        delete stream;
    }
    delete liste;
</code></pre>
<p>Warum bleibt list-&gt;Text leer</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/118527/tstream-zu-ansistring</link><generator>RSS for Node</generator><lastBuildDate>Fri, 24 Jul 2026 17:30:28 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/118527.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 21 Aug 2005 16:25:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to TStream zu AnsiString on Sun, 21 Aug 2005 16:26:17 GMT]]></title><description><![CDATA[<p>Es gab hierzu schon ein paar Themen<br />
Aber</p>
<pre><code class="language-cpp">//Indi verbindung funktioniert
    IndiMftp-&gt;List(liste,&quot;&quot;,false);
    vector&lt;AnsiString&gt; p;
    for(int x=0; x&lt;liste-&gt;Count; x++){
        //Folgendes habe ich von hier und BCC-Hilfe
        TStream* stream = new TMemoryStream();
        TStrings *list = new TStringList();
        IndiMftp-&gt;Get(liste-&gt;operator [](x),stream);
        //stream-&gt;Size gibt größe der Datei aus (122byte)
        //sollte also nicht leer sein
        list-&gt;LoadFromStream(stream);
        //Aber list bleibt leer
        p.push_back(list-&gt;Text);
        delete list;
        delete stream;
    }
    delete liste;
</code></pre>
<p>Warum bleibt list-&gt;Text leer</p>
]]></description><link>https://www.c-plusplus.net/forum/post/855499</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/855499</guid><dc:creator><![CDATA[Trulli]]></dc:creator><pubDate>Sun, 21 Aug 2005 16:26:17 GMT</pubDate></item><item><title><![CDATA[Reply to TStream zu AnsiString on Sun, 21 Aug 2005 16:44:52 GMT]]></title><description><![CDATA[<p>Stream-Position vor dem LoadFromStream auf 0 setzen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/855508</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/855508</guid><dc:creator><![CDATA[Jansen]]></dc:creator><pubDate>Sun, 21 Aug 2005 16:44:52 GMT</pubDate></item><item><title><![CDATA[Reply to TStream zu AnsiString on Sun, 21 Aug 2005 16:46:38 GMT]]></title><description><![CDATA[<p>Danke!</p>
<p>Stand in keiner Beschreibung</p>
]]></description><link>https://www.c-plusplus.net/forum/post/855511</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/855511</guid><dc:creator><![CDATA[Trulli]]></dc:creator><pubDate>Sun, 21 Aug 2005 16:46:38 GMT</pubDate></item></channel></rss>