<?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 abfragen]]></title><description><![CDATA[<p>Hallo Leute - in der Hilfe finde ich alles möglich:<br />
attribute, datum, name, pfad undsoweiter zum abfragen aber nciht die größe</p>
<p>kennt ihr eine funktion?<br />
GetSizebyName habe ich gefunden aber das ist irgendwas con nem indy client oder so...</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/133225/größe-einer-datei-abfragen</link><generator>RSS for Node</generator><lastBuildDate>Fri, 31 Jul 2026 12:47:53 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/133225.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 16 Jan 2006 10:49:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Größe einer Datei abfragen on Mon, 16 Jan 2006 10:49:01 GMT]]></title><description><![CDATA[<p>Hallo Leute - in der Hilfe finde ich alles möglich:<br />
attribute, datum, name, pfad undsoweiter zum abfragen aber nciht die größe</p>
<p>kennt ihr eine funktion?<br />
GetSizebyName habe ich gefunden aber das ist irgendwas con nem indy client oder so...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/967821</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/967821</guid><dc:creator><![CDATA[dern00b]]></dc:creator><pubDate>Mon, 16 Jan 2006 10:49:01 GMT</pubDate></item><item><title><![CDATA[Reply to Größe einer Datei abfragen on Mon, 16 Jan 2006 10:57:00 GMT]]></title><description><![CDATA[<p>Wenn ich in der BCB Hilfe bei Suchen &quot;Dateigröße&quot; eingebe dann finde ich eine funktionierende Funktion mit Beispiel.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/967826</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/967826</guid><dc:creator><![CDATA[Beliah]]></dc:creator><pubDate>Mon, 16 Jan 2006 10:57:00 GMT</pubDate></item><item><title><![CDATA[Reply to Größe einer Datei abfragen on Mon, 16 Jan 2006 10:57:11 GMT]]></title><description><![CDATA[<p>Hallo</p>
<p>mit der WinAPI-Funktion <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/getfilesize.asp" rel="nofollow">GetFileSize</a> oder mit den Suchfunktionen FindFirst/FindNext.</p>
<p>bis bald<br />
akari</p>
]]></description><link>https://www.c-plusplus.net/forum/post/967828</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/967828</guid><dc:creator><![CDATA[akari]]></dc:creator><pubDate>Mon, 16 Jan 2006 10:57:11 GMT</pubDate></item><item><title><![CDATA[Reply to Größe einer Datei abfragen on Mon, 16 Jan 2006 11:06:06 GMT]]></title><description><![CDATA[<p>mit find first findenext komm ich soweit zurecht, das ich meinen treeview auf pfade aufgebaut habe - aber es geht ja um ein file und da funktioniert das nichtmehr. das hatte ich auch probiert</p>
<p>beliah - ich probiere es mal aus <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="🙂"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/967843</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/967843</guid><dc:creator><![CDATA[dern00b]]></dc:creator><pubDate>Mon, 16 Jan 2006 11:06:06 GMT</pubDate></item><item><title><![CDATA[Reply to Größe einer Datei abfragen on Mon, 16 Jan 2006 11:12:16 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">int handle;
handle = open(&quot;C.\hi.html&quot;, O_CREAT);
ShowMessage(filelength(handle));
close(handle);
</code></pre>
<p>tja - ich krige eine 0 in die messagebox und sehe das bei einer dateigröße von 260k als falsch an</p>
<p>wo ist der fehler?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/967849</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/967849</guid><dc:creator><![CDATA[dern00b]]></dc:creator><pubDate>Mon, 16 Jan 2006 11:12:16 GMT</pubDate></item><item><title><![CDATA[Reply to Größe einer Datei abfragen on Mon, 16 Jan 2006 11:14:46 GMT]]></title><description><![CDATA[<p>&quot;c.\hi.html&quot; &lt;- fällt dir da nichts auf? Sogar 2 Sachen <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>
]]></description><link>https://www.c-plusplus.net/forum/post/967851</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/967851</guid><dc:creator><![CDATA[Beliah]]></dc:creator><pubDate>Mon, 16 Jan 2006 11:14:46 GMT</pubDate></item><item><title><![CDATA[Reply to Größe einer Datei abfragen on Mon, 16 Jan 2006 11:23:45 GMT]]></title><description><![CDATA[<p>muchas grazios</p>
<p>argh<br />
dummheit</p>
<pre><code class="language-cpp">int handle;
handle = open(&quot;C:\\hi.html&quot;, O_CREAT);
ShowMessage(filelength(handle) / 1024);
close(handle);
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/967861</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/967861</guid><dc:creator><![CDATA[dern00b]]></dc:creator><pubDate>Mon, 16 Jan 2006 11:23:45 GMT</pubDate></item><item><title><![CDATA[Reply to Größe einer Datei abfragen on Mon, 16 Jan 2006 11:28:06 GMT]]></title><description><![CDATA[<p>Kein Problem, funktionierts jetzt so wie du willst?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/967863</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/967863</guid><dc:creator><![CDATA[Beliah]]></dc:creator><pubDate>Mon, 16 Jan 2006 11:28:06 GMT</pubDate></item><item><title><![CDATA[Reply to Größe einer Datei abfragen on Mon, 16 Jan 2006 11:31:59 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">int handle = open(Pfad.c_str(), O_CREAT);
if((filelength(handle) / 1024) &gt; 20000) //20 megabyte maximal größe erstmal
</code></pre>
<p>hjo so funzt das erstmal.<br />
ist halt nur dafür da - das der user nicht unbedingt genau die logfiles öffnet die 80 mb groß sind. da soll er vorher gewarnt wertden und das nochmal bestätigen weil das ist chaos.....^^</p>
]]></description><link>https://www.c-plusplus.net/forum/post/967869</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/967869</guid><dc:creator><![CDATA[dern00b]]></dc:creator><pubDate>Mon, 16 Jan 2006 11:31:59 GMT</pubDate></item><item><title><![CDATA[Reply to Größe einer Datei abfragen on Mon, 16 Jan 2006 11:38:18 GMT]]></title><description><![CDATA[<p>Dann ist ja gut. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f603.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--grinning_face_with_big_eyes"
      title=":D"
      alt="😃"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/967874</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/967874</guid><dc:creator><![CDATA[Beliah]]></dc:creator><pubDate>Mon, 16 Jan 2006 11:38:18 GMT</pubDate></item><item><title><![CDATA[Reply to Größe einer Datei abfragen on Mon, 16 Jan 2006 11:42:05 GMT]]></title><description><![CDATA[<p>letztes male hatte ich mich gefragt warum mein baum falsch aufgebaut wird - nämlich gar nicht. hatte findfirst/findnext genommen. naja nach 2 std - ahnungslosem quatsch habe ich hier einen angestellten gefragt. nach 10 sekunde.<br />
\* muss bei findfile am ende stehen. ich hate das * vergessen</p>
<p>OMG</p>
<p>sind halt kleinigkeiten die zeit verschwenden^^</p>
]]></description><link>https://www.c-plusplus.net/forum/post/967879</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/967879</guid><dc:creator><![CDATA[dern00b]]></dc:creator><pubDate>Mon, 16 Jan 2006 11:42:05 GMT</pubDate></item></channel></rss>