<?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[Fehler????]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich habe eine Fehlermeldung die ich nicht weg bekomme...<br />
und zwar springt er mal wieder nicht in die if anweisung, da hab ich wie ich es gestern gezeigt bekomme hab gemacht:</p>
<pre><code class="language-cpp">DWORD error = GetLastError() ;

			CString strTemp; 
			strTemp.Format(&quot;%d&quot;,error); 
			AfxMessageBox(strTemp);
</code></pre>
<p>jetzt zeigt der mir den fehler 3 an, daunter steht in der msdn :<br />
Datei wird bereits verwendet<br />
so ich weiss nicht wo ich sie angeblich verwende, weil ich sie da das erstemal aufrufe...<br />
wie bekomme ich den fehler weg???<br />
hier nochmal die anweisung um die es geht:</p>
<pre><code class="language-cpp">if(ffile.Open(name,	CFile::modeReadWrite))
	{
		MessageBox(&quot;ajaj&quot;);
		ffile.Close();
	}
</code></pre>
<p>die msb steht nur zu kontrolle drin....</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/54084/fehler</link><generator>RSS for Node</generator><lastBuildDate>Mon, 01 Jun 2026 13:52:10 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/54084.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 04 Nov 2003 10:48:36 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Fehler???? on Tue, 04 Nov 2003 10:48:36 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>ich habe eine Fehlermeldung die ich nicht weg bekomme...<br />
und zwar springt er mal wieder nicht in die if anweisung, da hab ich wie ich es gestern gezeigt bekomme hab gemacht:</p>
<pre><code class="language-cpp">DWORD error = GetLastError() ;

			CString strTemp; 
			strTemp.Format(&quot;%d&quot;,error); 
			AfxMessageBox(strTemp);
</code></pre>
<p>jetzt zeigt der mir den fehler 3 an, daunter steht in der msdn :<br />
Datei wird bereits verwendet<br />
so ich weiss nicht wo ich sie angeblich verwende, weil ich sie da das erstemal aufrufe...<br />
wie bekomme ich den fehler weg???<br />
hier nochmal die anweisung um die es geht:</p>
<pre><code class="language-cpp">if(ffile.Open(name,	CFile::modeReadWrite))
	{
		MessageBox(&quot;ajaj&quot;);
		ffile.Close();
	}
</code></pre>
<p>die msb steht nur zu kontrolle drin....</p>
]]></description><link>https://www.c-plusplus.net/forum/post/386404</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/386404</guid><dc:creator><![CDATA[gaga]]></dc:creator><pubDate>Tue, 04 Nov 2003 10:48:36 GMT</pubDate></item><item><title><![CDATA[Reply to Fehler???? on Tue, 04 Nov 2003 10:58:30 GMT]]></title><description><![CDATA[<p>Hmm, du scheinst eine andere MSDN als ich zu haben... Komisch.<br />
Meine sagt dazu:<br />
ERROR_PATH_NOT_FOUND (The system cannot find the path specified.)</p>
<p>Versuch es mal mit der Interpretation. Wenn es zutrifft, solltest du dich überzeugen, ob du an der richtigen Stelle in der MSDN geguckt hast.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/386412</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/386412</guid><dc:creator><![CDATA[estartu]]></dc:creator><pubDate>Tue, 04 Nov 2003 10:58:30 GMT</pubDate></item><item><title><![CDATA[Reply to Fehler???? on Tue, 04 Nov 2003 11:02:38 GMT]]></title><description><![CDATA[<p>aber ich tu doch vor der schleife extra nochmal den pfad ausgeben, damit ich sagen kann ob alles ok ist, und es gibt doch auch den richtigen aus.......</p>
]]></description><link>https://www.c-plusplus.net/forum/post/386415</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/386415</guid><dc:creator><![CDATA[gaga]]></dc:creator><pubDate>Tue, 04 Nov 2003 11:02:38 GMT</pubDate></item><item><title><![CDATA[Reply to Fehler???? on Tue, 04 Nov 2003 11:29:47 GMT]]></title><description><![CDATA[<p>Servus gaga,</p>
<p>also was hast du denn? Schreib mir doch mal bitte hin was in der Variable &quot;name&quot; drinsteht!!</p>
<p>Hellsgore</p>
]]></description><link>https://www.c-plusplus.net/forum/post/386439</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/386439</guid><dc:creator><![CDATA[Hellsgore]]></dc:creator><pubDate>Tue, 04 Nov 2003 11:29:47 GMT</pubDate></item><item><title><![CDATA[Reply to Fehler???? on Tue, 04 Nov 2003 11:38:49 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">m_dparameterdlg.name = &quot;...\\Knoten\\2x2.txt&quot;;
</code></pre>
<p>name kommt von einem anderem Fenster und ich über gebe es so an das andere<br />
dann möchte ich gerne name öffnen:</p>
<pre><code class="language-cpp">MessageBox(name);

	CStdioFile ffile;

	if(ffile.Open(name,	CFile::modeReadWrite))
	{
		MessageBox(&quot;ajaj&quot;);
		ffile.Close();
	}
</code></pre>
<p>Ich teste auch mit der msb das was in name steht.<br />
aber es geht mal wieder nix.....<br />
oder hängt es daran das die anweisung in der oninitdialog steht???</p>
]]></description><link>https://www.c-plusplus.net/forum/post/386444</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/386444</guid><dc:creator><![CDATA[gaga]]></dc:creator><pubDate>Tue, 04 Nov 2003 11:38:49 GMT</pubDate></item><item><title><![CDATA[Reply to Fehler???? on Tue, 04 Nov 2003 11:48:55 GMT]]></title><description><![CDATA[<p>Also<br />
Path not Found, kann ja nur sein das die Verzeichnisse nicht da sind. Erkläre mir mal kurz wie das Verzeichnis aussieht worauf du zugreifen willst. Ich glaube nämlich stark daran das er das &quot;...\&quot; nicht mag. Ich weiss es aber ehrlich gesagt nicht mehr. Wo ist denn das Verzeichnis Knoten?</p>
<p>Hellsgore</p>
]]></description><link>https://www.c-plusplus.net/forum/post/386457</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/386457</guid><dc:creator><![CDATA[Hellsgore]]></dc:creator><pubDate>Tue, 04 Nov 2003 11:48:55 GMT</pubDate></item><item><title><![CDATA[Reply to Fehler???? on Tue, 04 Nov 2003 11:53:28 GMT]]></title><description><![CDATA[<p>das verzeichnis knoten ist ganz normal in dem wo das program auch ist, neben debug, res ect.....</p>
]]></description><link>https://www.c-plusplus.net/forum/post/386461</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/386461</guid><dc:creator><![CDATA[gaga]]></dc:creator><pubDate>Tue, 04 Nov 2003 11:53:28 GMT</pubDate></item><item><title><![CDATA[Reply to Fehler???? on Tue, 04 Nov 2003 11:54:30 GMT]]></title><description><![CDATA[<p>Jut,<br />
dann teste mal gib mal einfach als Verzeichnis &quot;\\Knoten\\2x2.txt&quot; ein und führe mal aus.</p>
<p>Hellsgore</p>
]]></description><link>https://www.c-plusplus.net/forum/post/386463</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/386463</guid><dc:creator><![CDATA[Hellsgore]]></dc:creator><pubDate>Tue, 04 Nov 2003 11:54:30 GMT</pubDate></item><item><title><![CDATA[Reply to Fehler???? on Tue, 04 Nov 2003 13:13:33 GMT]]></title><description><![CDATA[<p>man muss auch die beiden striche weg lassen dann geht es<br />
danke aber für den tip</p>
]]></description><link>https://www.c-plusplus.net/forum/post/386518</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/386518</guid><dc:creator><![CDATA[gaga]]></dc:creator><pubDate>Tue, 04 Nov 2003 13:13:33 GMT</pubDate></item><item><title><![CDATA[Reply to Fehler???? on Tue, 04 Nov 2003 13:14:38 GMT]]></title><description><![CDATA[<p>also:</p>
<p>m_dparameterdlg.name = &quot;Knoten\\2x2.txt&quot;;</p>
]]></description><link>https://www.c-plusplus.net/forum/post/386519</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/386519</guid><dc:creator><![CDATA[gaga]]></dc:creator><pubDate>Tue, 04 Nov 2003 13:14:38 GMT</pubDate></item><item><title><![CDATA[Reply to Fehler???? on Tue, 04 Nov 2003 13:19:47 GMT]]></title><description><![CDATA[<p>Ehrlich?<br />
mhmm ich habe lange nicht mher mit CFile gearbeitet *g* *nichtmehrweiss* bin aber der Meinung das man das so machen kann&quot;\\FrissdieKatze\\PaulhateinenHund\\wasweissich.txt&quot;<br />
dann sollte er in das Unterverzeichnis folgen.</p>
<p>So jetzt noch ein kleiner Tipp am Rande. Solltest du jetzt irgendwann ein FileDialog aufrufen bei dem du das Verzeichnis wechselst, dann wird er das Verzeichnis \\Knoten\\ nicht mehr finden. Wenn das passiert kannst du ja nochmal nachfragen dann musst du nämlich den Pfad deines eigenen Programmes herausfinden.</p>
<p>Ich habe gerade nochmal nachgeschaut bei Delphi geht das so &quot;...\&quot; 3Punkte bedeuten da glaube ich ganz auf die Root zurückspringen &quot;.\&quot; ein Verzeichnis vor. Sollte eigentlich auch in C++ funzen frage mich aber nicht warum. Da kennt sich bestimmt ein anderer besser mit aus.</p>
<p>Hellsgore</p>
]]></description><link>https://www.c-plusplus.net/forum/post/386523</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/386523</guid><dc:creator><![CDATA[Hellsgore]]></dc:creator><pubDate>Tue, 04 Nov 2003 13:19:47 GMT</pubDate></item><item><title><![CDATA[Reply to Fehler???? on Tue, 04 Nov 2003 13:36:02 GMT]]></title><description><![CDATA[<p>danke für den tip<br />
eigentlich hatte ich das nicht vor noch eine filedialog aufzurufen abe rman weiss ja nie für was man das brauchen kann.<br />
<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/386545</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/386545</guid><dc:creator><![CDATA[gaga]]></dc:creator><pubDate>Tue, 04 Nov 2003 13:36:02 GMT</pubDate></item></channel></rss>