<?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[Größe einer Datei finden]]></title><description><![CDATA[<p>Hallo,<br />
habe eine Datei mit FieOpen(...) geöffnet. Möchte gerne die Größe dieser Datei finden. Kann auch vor öffnen sein, da ich den Path über einen AnsiString erhalte.<br />
Gibt es eine Lösung dafür?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/163036/größe-einer-datei-finden</link><generator>RSS for Node</generator><lastBuildDate>Tue, 11 Aug 2026 23:50:31 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/163036.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 25 Oct 2006 13:09:11 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Größe einer Datei finden on Wed, 25 Oct 2006 13:09:11 GMT]]></title><description><![CDATA[<p>Hallo,<br />
habe eine Datei mit FieOpen(...) geöffnet. Möchte gerne die Größe dieser Datei finden. Kann auch vor öffnen sein, da ich den Path über einen AnsiString erhalte.<br />
Gibt es eine Lösung dafür?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1160997</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1160997</guid><dc:creator><![CDATA[Mister_D.]]></dc:creator><pubDate>Wed, 25 Oct 2006 13:09:11 GMT</pubDate></item><item><title><![CDATA[Reply to Größe einer Datei finden on Wed, 25 Oct 2006 13:45:16 GMT]]></title><description><![CDATA[<p>Laut BCB-Hilfe ist z.B. FileSizeByName() dafür geeignet.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1161015</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1161015</guid><dc:creator><![CDATA[Morris Szyslak]]></dc:creator><pubDate>Wed, 25 Oct 2006 13:45:16 GMT</pubDate></item><item><title><![CDATA[Reply to Größe einer Datei finden on Wed, 25 Oct 2006 13:52:06 GMT]]></title><description><![CDATA[<p>Indy.Sockets ???<br />
Komisch. Eine andere Lösung wäre besser. Dennoch danke ich dir.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1161020</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1161020</guid><dc:creator><![CDATA[Mister_D.]]></dc:creator><pubDate>Wed, 25 Oct 2006 13:52:06 GMT</pubDate></item><item><title><![CDATA[Reply to Größe einer Datei finden on Wed, 25 Oct 2006 15:15:22 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>Dazu gibts die WinAPI-Funktion <a href="http://windowssdk.msdn.microsoft.com/en-gb/library/ms685881.aspx" rel="nofollow">GetFileSize</a>.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1161089</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1161089</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Wed, 25 Oct 2006 15:15:22 GMT</pubDate></item><item><title><![CDATA[Reply to Größe einer Datei finden on Wed, 25 Oct 2006 15:17:19 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">TSearchRec Rec;
if (FindFirst(DateiName, faAnyFile, Rec) == 0)
  ShowMessage(Rec.Size);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1161093</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1161093</guid><dc:creator><![CDATA[Jansen]]></dc:creator><pubDate>Wed, 25 Oct 2006 15:17:19 GMT</pubDate></item><item><title><![CDATA[Reply to Größe einer Datei finden on Wed, 25 Oct 2006 15:21:44 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>@ Jansen :</p>
<p>Mister_D.  schrieb:</p>
<blockquote>
<p>habe eine Datei mit FieOpen(...) geöffnet</p>
</blockquote>
<p>Das heißt er hat ja schon ein Filehandle, da ist GetFileSize besser als erstmal die Datei noch zu suchen.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1161098</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1161098</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Wed, 25 Oct 2006 15:21:44 GMT</pubDate></item><item><title><![CDATA[Reply to Größe einer Datei finden on Wed, 25 Oct 2006 19:01:32 GMT]]></title><description><![CDATA[<p>Mister_D. schrieb:</p>
<blockquote>
<p>[...] Kann auch vor öffnen sein [...]</p>
</blockquote>
<p>Wer weiss, ob er sie auch <strong>unbedingt</strong> öffnen will/muss. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
<p>Wenn die Datei tatsächlich mit FileOpen geöffnet ist, dann lässt sich die Dateigrösse auch über ein FileSeek ans Dateiende ermitteln.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1161343</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1161343</guid><dc:creator><![CDATA[Jansen]]></dc:creator><pubDate>Wed, 25 Oct 2006 19:01:32 GMT</pubDate></item></channel></rss>