<?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[IStream* als txt speichern]]></title><description><![CDATA[<p>Hallo Leute,</p>
<p>ich habe einen IStream*.</p>
<p>Die Daten würde ich gernen in txt file speichern.</p>
<p>Kann mir einer helfen und sagen wie das geht.</p>
<p>Danke für Eure Hilfe</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/162600/istream-als-txt-speichern</link><generator>RSS for Node</generator><lastBuildDate>Thu, 30 Jul 2026 06:12:44 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/162600.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 20 Oct 2006 09:51:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to IStream* als txt speichern on Fri, 20 Oct 2006 09:51:21 GMT]]></title><description><![CDATA[<p>Hallo Leute,</p>
<p>ich habe einen IStream*.</p>
<p>Die Daten würde ich gernen in txt file speichern.</p>
<p>Kann mir einer helfen und sagen wie das geht.</p>
<p>Danke für Eure Hilfe</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1158189</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1158189</guid><dc:creator><![CDATA[souso20]]></dc:creator><pubDate>Fri, 20 Oct 2006 09:51:21 GMT</pubDate></item><item><title><![CDATA[Reply to IStream* als txt speichern on Mon, 23 Oct 2006 09:48:34 GMT]]></title><description><![CDATA[<p>Du rufst einfach das ISequentialStream::Read auf und schreibst das Ergebnis in die Textdatei... oder was für eine Frage hast Du genau?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1159366</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1159366</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Mon, 23 Oct 2006 09:48:34 GMT</pubDate></item><item><title><![CDATA[Reply to IStream* als txt speichern on Tue, 24 Oct 2006 08:07:46 GMT]]></title><description><![CDATA[<p>Hab es so gelöst:</p>
<pre><code class="language-cpp">CFile	cFile(File.operator LPCTSTR(), CFile::modeReadWrite|CFile::modeCreate);
HGLOBAL	hGlobal;
HRESULT	hr = GetHGlobalFromStream(pStream, &amp;hGlobal);
DWORD	cbSize = GlobalSize(hGlobal);
BYTE	*hPtr = (BYTE *)GlobalLock(hGlobal);
cFile.Write(hPtr, cbSize);
GlobalUnlock(hGlobal);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1160067</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1160067</guid><dc:creator><![CDATA[souso20]]></dc:creator><pubDate>Tue, 24 Oct 2006 08:07:46 GMT</pubDate></item><item><title><![CDATA[Reply to IStream* als txt speichern on Tue, 24 Oct 2006 08:10:36 GMT]]></title><description><![CDATA[<p>Das geht natürlich nur, wenn die Daten nicht all zu gross sind...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1160069</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1160069</guid><dc:creator><![CDATA[Jochen Kalmbach]]></dc:creator><pubDate>Tue, 24 Oct 2006 08:10:36 GMT</pubDate></item><item><title><![CDATA[Reply to IStream* als txt speichern on Tue, 24 Oct 2006 10:07:05 GMT]]></title><description><![CDATA[<p>Warum machst Du nicht einfach eine Schleife mit IStream::Read. Liest einfach immer einen Block von 4KB und schreibst diese. Solange eben IStream::Read noch was liefert.<br />
Scherheitshalber IStream::Seek am Anfang.<br />
IStream ist doch so etwas wie eine &quot;Datei&quot;, zumindest hat es identische Funktionen um darauf zuzugreifen...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1160181</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1160181</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Tue, 24 Oct 2006 10:07:05 GMT</pubDate></item></channel></rss>