<?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[fread und Dateien &amp;gt; 4GB]]></title><description><![CDATA[<p>Hallo,<br />
ich möchte Dateien auslesen, die größer sind als 4 GB (unter 32bit-Windows). Dazu will ich fread() &amp; Co verwenden. Da diese Funktionen aber mit size_t für Größenangaben arbeiten und size_t bei mir nur 32bit groß ist, versagen alle meine Programme ab 4 GB.</p>
<p>Weiß jemand, wie es richtig geht?</p>
<p>Mr Train</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/233164/fread-und-dateien-gt-4gb</link><generator>RSS for Node</generator><lastBuildDate>Thu, 24 Sep 2026 22:06:34 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/233164.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 01 Feb 2009 16:50:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to fread und Dateien &amp;gt; 4GB on Sun, 01 Feb 2009 16:50:08 GMT]]></title><description><![CDATA[<p>Hallo,<br />
ich möchte Dateien auslesen, die größer sind als 4 GB (unter 32bit-Windows). Dazu will ich fread() &amp; Co verwenden. Da diese Funktionen aber mit size_t für Größenangaben arbeiten und size_t bei mir nur 32bit groß ist, versagen alle meine Programme ab 4 GB.</p>
<p>Weiß jemand, wie es richtig geht?</p>
<p>Mr Train</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1656041</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1656041</guid><dc:creator><![CDATA[Mr Train]]></dc:creator><pubDate>Sun, 01 Feb 2009 16:50:08 GMT</pubDate></item><item><title><![CDATA[Reply to fread und Dateien &amp;gt; 4GB on Sun, 01 Feb 2009 16:53:30 GMT]]></title><description><![CDATA[<p>wie willst du mehr als 4GB auf einem 32 Bit System aufeinmal in den Speicher laden? Musst halt teile einlesen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1656042</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1656042</guid><dc:creator><![CDATA[ääääh]]></dc:creator><pubDate>Sun, 01 Feb 2009 16:53:30 GMT</pubDate></item><item><title><![CDATA[Reply to fread und Dateien &amp;gt; 4GB on Sun, 01 Feb 2009 17:00:53 GMT]]></title><description><![CDATA[<p>Ich will die Datei Stück für Stück an einen anderen PC senden. Aber vorher will ich ermitteln, wie groß die Datei ist.</p>
<pre><code class="language-cpp">fseek(f, 0, SEEK_END);
FileSize = ftell(f);
</code></pre>
<p>FileSize muss dabei &gt; 32bit sein.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1656049</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1656049</guid><dc:creator><![CDATA[Mr Train]]></dc:creator><pubDate>Sun, 01 Feb 2009 17:00:53 GMT</pubDate></item><item><title><![CDATA[Reply to fread und Dateien &amp;gt; 4GB on Sun, 01 Feb 2009 17:04:55 GMT]]></title><description><![CDATA[<p>musst halt auf denn neuen C++ <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /> Standard warten.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1656052</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1656052</guid><dc:creator><![CDATA[FritzeX]]></dc:creator><pubDate>Sun, 01 Feb 2009 17:04:55 GMT</pubDate></item><item><title><![CDATA[Reply to fread und Dateien &amp;gt; 4GB on Sun, 01 Feb 2009 17:07:55 GMT]]></title><description><![CDATA[<p>Wenns sowieso für win ist dann:<br />
<a href="http://msdn.microsoft.com/en-us/library/aa364955(VS.85).aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/aa364955(VS.85).aspx</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1656053</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1656053</guid><dc:creator><![CDATA[oh yeah]]></dc:creator><pubDate>Sun, 01 Feb 2009 17:07:55 GMT</pubDate></item><item><title><![CDATA[Reply to fread und Dateien &amp;gt; 4GB on Sun, 01 Feb 2009 17:08:53 GMT]]></title><description><![CDATA[<p>Die fread-Funktion ist soweit ich weiß ja noch nichtmal C++, sondern C.<br />
Trotzdem muss es doch eine Lösung für das Problem geben, ich bin wahrscheinlich nicht der Erste damit.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1656054</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1656054</guid><dc:creator><![CDATA[Mr Train]]></dc:creator><pubDate>Sun, 01 Feb 2009 17:08:53 GMT</pubDate></item><item><title><![CDATA[Reply to fread und Dateien &amp;gt; 4GB on Sun, 01 Feb 2009 17:19:40 GMT]]></title><description><![CDATA[<p>Windows: <a href="http://msdn.microsoft.com/en-us/library/1yee101t(VS.80).aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/1yee101t(VS.80).aspx</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1656062</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1656062</guid><dc:creator><![CDATA[David_pb]]></dc:creator><pubDate>Sun, 01 Feb 2009 17:19:40 GMT</pubDate></item><item><title><![CDATA[Reply to fread und Dateien &amp;gt; 4GB on Sun, 01 Feb 2009 17:26:51 GMT]]></title><description><![CDATA[<p>OK, danke erstmal. Ich bastel damit erstmal 'n bisschen rum.</p>
<p>Mr Train</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1656065</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1656065</guid><dc:creator><![CDATA[Mr Train]]></dc:creator><pubDate>Sun, 01 Feb 2009 17:26:51 GMT</pubDate></item><item><title><![CDATA[Reply to fread und Dateien &amp;gt; 4GB on Wed, 04 Feb 2009 14:47:01 GMT]]></title><description><![CDATA[<p>OK, folgendes Problem:<br />
1. Wie konvertiere ich ein int zu LARGE_INTEGER?<br />
2. Wie kann ich einem LARGE_INTEGER einen Wert zuweisen? (mit dem Zuweisungsoperator = geht's ja nicht)</p>
<p>Mr Train</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1657883</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1657883</guid><dc:creator><![CDATA[Mr Train]]></dc:creator><pubDate>Wed, 04 Feb 2009 14:47:01 GMT</pubDate></item><item><title><![CDATA[Reply to fread und Dateien &amp;gt; 4GB on Wed, 04 Feb 2009 14:54:30 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">LARGE_INTEGER i;
int j = 10;
i.LowPart = j;
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1657891</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1657891</guid><dc:creator><![CDATA[David_pb]]></dc:creator><pubDate>Wed, 04 Feb 2009 14:54:30 GMT</pubDate></item><item><title><![CDATA[Reply to fread und Dateien &amp;gt; 4GB on Wed, 04 Feb 2009 19:47:56 GMT]]></title><description><![CDATA[<p>Die Funktionen GetFileSize() und GetFileSizeEx() erwarten als Parameter jeweils ein HANDLE für die Datei. Ich hab schon ausprobiert, ob auch ein FILE-Objekt geht, aber das scheint nich der Fall zu sein. Gibt es nicht eine Möglichkeit, ein HANDLE aus dem FILE zu erzeugen?</p>
<p>Mr Train</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1658116</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1658116</guid><dc:creator><![CDATA[Mr Train]]></dc:creator><pubDate>Wed, 04 Feb 2009 19:47:56 GMT</pubDate></item><item><title><![CDATA[Reply to fread und Dateien &amp;gt; 4GB on Wed, 04 Feb 2009 19:55:05 GMT]]></title><description><![CDATA[<p>So ein handle holt man sich normalerweise mit CreateFile.<br />
Fragen zu diesen Funktionen passen jetzt aber eher in das WinAPI-Forum.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1658122</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1658122</guid><dc:creator><![CDATA[Braunstein]]></dc:creator><pubDate>Wed, 04 Feb 2009 19:55:05 GMT</pubDate></item></channel></rss>