<?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[FindNextFile liefert mir nicht alle Einträge]]></title><description><![CDATA[<p>Hallo,</p>
<p>bei nachfolgenden Code überprüfe ich ob auch alle 3 txt-Dateien in einem Verzeichnis zu durchselektiert werden (Code dient nur zur Kontrolle). Dabei bemerke ich das bStatus nur beim ersten mal eine 1 zurückgibt und die anderen male im Anschluss nur noch eine 0. Weis jemand warum bzw. was ich falsch mache?</p>
<pre><code class="language-cpp">...
bStatus = find.FindFile(m_strPathTemp+&quot;\\*.txt&quot;);	
bStatus = find.FindNextFile();
bStatus = find.FindNextFile();
bStatus = find.FindNextFile();
...
</code></pre>
<p>vielen Dank</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/69130/findnextfile-liefert-mir-nicht-alle-einträge</link><generator>RSS for Node</generator><lastBuildDate>Sat, 02 May 2026 03:37:25 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/69130.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 24 Mar 2004 15:32:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to FindNextFile liefert mir nicht alle Einträge on Wed, 24 Mar 2004 15:32:09 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>bei nachfolgenden Code überprüfe ich ob auch alle 3 txt-Dateien in einem Verzeichnis zu durchselektiert werden (Code dient nur zur Kontrolle). Dabei bemerke ich das bStatus nur beim ersten mal eine 1 zurückgibt und die anderen male im Anschluss nur noch eine 0. Weis jemand warum bzw. was ich falsch mache?</p>
<pre><code class="language-cpp">...
bStatus = find.FindFile(m_strPathTemp+&quot;\\*.txt&quot;);	
bStatus = find.FindNextFile();
bStatus = find.FindNextFile();
bStatus = find.FindNextFile();
...
</code></pre>
<p>vielen Dank</p>
]]></description><link>https://www.c-plusplus.net/forum/post/487859</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/487859</guid><dc:creator><![CDATA[Mr.MSChart]]></dc:creator><pubDate>Wed, 24 Mar 2004 15:32:09 GMT</pubDate></item><item><title><![CDATA[Reply to FindNextFile liefert mir nicht alle Einträge on Wed, 24 Mar 2004 17:19:41 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>gehe anders vor:</p>
<pre><code class="language-cpp">CString strPattern = m_strPathTemp + &quot;\\*.txt&quot;;

...
bStatus = find.FindFile(strPattern);    
bStatus = find.FindNextFile();
bStatus = find.FindNextFile();
bStatus = find.FindNextFile();
...
</code></pre>
<p>MfG</p>
]]></description><link>https://www.c-plusplus.net/forum/post/487987</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/487987</guid><dc:creator><![CDATA[Probe-Nutzer]]></dc:creator><pubDate>Wed, 24 Mar 2004 17:19:41 GMT</pubDate></item></channel></rss>