<?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[[anfängerfehler?]Ordnerdurchsuchen( FindNextFile stürzt ab )]]></title><description><![CDATA[<p>Ich habe mir einiges über diese aktionen durchgelesen und gedacht ich könnts ja mal selber machen...</p>
<p>Ausgabe:</p>
<pre><code>DIRECTORY: D:\*$RECYCLE.BIN
</code></pre>
<p>und dann kommt</p>
<p>&quot;tMD.exe funktioniert nicht mehr&quot;</p>
<p>der Code:</p>
<pre><code class="language-cpp">#include &lt;stdio.h&gt;
#include &lt;windows.h&gt;

#define VERSION &quot;0.00.02&quot;

void readFilesFromDirectory( char*, int* );

int main( int argc, char **argv )
{
	int files = 0;

	printf( &quot;\t\t\ttagMyData Version %s\n\n&quot;, VERSION );
	readFilesFromDirectory( &quot;D:\\*&quot;, &amp;files );
	system( &quot;pause&quot; );
	return 0;
}

void readFilesFromDirectory( char *path, int *counter )
{
	HANDLE 				mySearch;
	WIN32_FIND_DATA		fileData;
	char				*newPath = NULL;
	int					i;

	mySearch = FindFirstFile( path, &amp;fileData ); //erste Datei auslesen
	if( mySearch != INVALID_HANDLE_VALUE )
	{
		do
			//solange noch dateien gefunden werden
		{
			if( fileData.cFileName[0] != '.' &amp;&amp; ( fileData.cFileName[1] != 0 || (fileData.cFileName[1] != '.' &amp;&amp; fileData.cFileName[2] != 0) ) )
				//unterverzeichnisse haben immer noch &quot;.&quot; und &quot;..&quot;
			{
				if( !( fileData.dwFileAttributes &amp; FILE_ATTRIBUTE_DIRECTORY ) )
				{
					*counter += 1;
					printf( &quot;FILE %.6d: %s%s\n&quot;, *counter, path, fileData.cFileName );
				}
				else
					printf( &quot;DIRECTORY: %s%s\n&quot;, path, fileData.cFileName );
			}
            //&lt;&lt;hier würde er noch was anzeigen
		}while( FindNextFile( path, &amp;fileData ) );//&lt;&lt;hier scheint es ärger zu geben

		FindClose( mySearch );
	}
	free( newPath );
	printf( &quot;!!!&quot; );
}
</code></pre>
<p>Ich verstehe nicht was da los ist <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f62e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_open_mouth"
      title=":open_mouth:"
      alt="😮"
    /></p>
<p>Kann mir da wer bitte helfen?</p>
<p>Wenn ich &quot;Debuggen&quot; bei der Windowsmeldung klicke kommt &quot;MS VC++ 6.0&quot; und sagt &quot;Access Violation&quot;,<br />
aber was soll da nicht klappen wenn printf geht?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/210393/anfängerfehler-ordnerdurchsuchen-findnextfile-stürzt-ab</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 23:31:54 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/210393.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 10 Apr 2008 13:47:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [anfängerfehler?]Ordnerdurchsuchen( FindNextFile stürzt ab ) on Thu, 10 Apr 2008 13:55:58 GMT]]></title><description><![CDATA[<p>Ich habe mir einiges über diese aktionen durchgelesen und gedacht ich könnts ja mal selber machen...</p>
<p>Ausgabe:</p>
<pre><code>DIRECTORY: D:\*$RECYCLE.BIN
</code></pre>
<p>und dann kommt</p>
<p>&quot;tMD.exe funktioniert nicht mehr&quot;</p>
<p>der Code:</p>
<pre><code class="language-cpp">#include &lt;stdio.h&gt;
#include &lt;windows.h&gt;

#define VERSION &quot;0.00.02&quot;

void readFilesFromDirectory( char*, int* );

int main( int argc, char **argv )
{
	int files = 0;

	printf( &quot;\t\t\ttagMyData Version %s\n\n&quot;, VERSION );
	readFilesFromDirectory( &quot;D:\\*&quot;, &amp;files );
	system( &quot;pause&quot; );
	return 0;
}

void readFilesFromDirectory( char *path, int *counter )
{
	HANDLE 				mySearch;
	WIN32_FIND_DATA		fileData;
	char				*newPath = NULL;
	int					i;

	mySearch = FindFirstFile( path, &amp;fileData ); //erste Datei auslesen
	if( mySearch != INVALID_HANDLE_VALUE )
	{
		do
			//solange noch dateien gefunden werden
		{
			if( fileData.cFileName[0] != '.' &amp;&amp; ( fileData.cFileName[1] != 0 || (fileData.cFileName[1] != '.' &amp;&amp; fileData.cFileName[2] != 0) ) )
				//unterverzeichnisse haben immer noch &quot;.&quot; und &quot;..&quot;
			{
				if( !( fileData.dwFileAttributes &amp; FILE_ATTRIBUTE_DIRECTORY ) )
				{
					*counter += 1;
					printf( &quot;FILE %.6d: %s%s\n&quot;, *counter, path, fileData.cFileName );
				}
				else
					printf( &quot;DIRECTORY: %s%s\n&quot;, path, fileData.cFileName );
			}
            //&lt;&lt;hier würde er noch was anzeigen
		}while( FindNextFile( path, &amp;fileData ) );//&lt;&lt;hier scheint es ärger zu geben

		FindClose( mySearch );
	}
	free( newPath );
	printf( &quot;!!!&quot; );
}
</code></pre>
<p>Ich verstehe nicht was da los ist <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f62e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_open_mouth"
      title=":open_mouth:"
      alt="😮"
    /></p>
<p>Kann mir da wer bitte helfen?</p>
<p>Wenn ich &quot;Debuggen&quot; bei der Windowsmeldung klicke kommt &quot;MS VC++ 6.0&quot; und sagt &quot;Access Violation&quot;,<br />
aber was soll da nicht klappen wenn printf geht?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1489765</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1489765</guid><dc:creator><![CDATA[lippoliv]]></dc:creator><pubDate>Thu, 10 Apr 2008 13:55:58 GMT</pubDate></item><item><title><![CDATA[Reply to [anfängerfehler?]Ordnerdurchsuchen( FindNextFile stürzt ab ) on Thu, 10 Apr 2008 14:10:37 GMT]]></title><description><![CDATA[<p>Fehler gefunden, handle muss als arg1 übergeben werden nicht der path...</p>
<p>[eidt]auch jetzt stürzt er ab:</p>
<pre><code class="language-cpp">void readFilesFromDirectory( char *path, int *counter )
{
	HANDLE 				mySearch;
	WIN32_FIND_DATA		fileData;
	char				*newPath = NULL;
	int					i;

	mySearch = FindFirstFile( path, &amp;fileData ); //erste Datei auslesen
	if( mySearch != INVALID_HANDLE_VALUE )
	{
		do
			//solange noch dateien gefunden werden
		{
			if( strcmp( &quot;.&quot;, fileData.cFileName ) &amp;&amp; strcmp( &quot;..&quot;, fileData.cFileName ) )
				//unterverzeichnisse haben immer noch &quot;.&quot; und &quot;..&quot;
			{
				if( fileData.dwFileAttributes &amp; FILE_ATTRIBUTE_DIRECTORY )
					//gefundener Ordner
				{
					if( newPath != NULL )
					{
						printf( &quot;!&quot; );
						free( newPath );
						printf( &quot;!&quot; );
						newPath = NULL;
					}
					newPath = malloc( (strlen(path)+strlen(fileData.cFileName))*sizeof(char) );

					for( i = 0; i &lt; strlen(path)-1; i++ )
						newPath[i] = path[i];
					strcat( newPath, fileData.cFileName );
					strcat( newPath, &quot;\\*&quot; );

					printf( &quot;DIRECTORY:\t%s\n&quot;, fileData.cFileName );
					readFilesFromDirectory( newPath, counter );
				}
				else
					//gefundene Datei
				{
					*counter += 1;
					printf( &quot;FILE %6d:\t%s%s\n&quot;, *counter, path, fileData.cFileName );
				}
			}
		}while( FindNextFile( mySearch, &amp;fileData ) );

		FindClose( mySearch );
	}
	free( newPath );
	printf( &quot;!!!&quot; );
}
</code></pre>
<p>woran liegt das?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1489780</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1489780</guid><dc:creator><![CDATA[lippoliv]]></dc:creator><pubDate>Thu, 10 Apr 2008 14:10:37 GMT</pubDate></item><item><title><![CDATA[Reply to [anfängerfehler?]Ordnerdurchsuchen( FindNextFile stürzt ab ) on Thu, 10 Apr 2008 14:40:00 GMT]]></title><description><![CDATA[<p>faq</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1489816</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1489816</guid><dc:creator><![CDATA[rofler]]></dc:creator><pubDate>Thu, 10 Apr 2008 14:40:00 GMT</pubDate></item><item><title><![CDATA[Reply to [anfängerfehler?]Ordnerdurchsuchen( FindNextFile stürzt ab ) on Fri, 11 Apr 2008 07:50:31 GMT]]></title><description><![CDATA[<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/26a0.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--warning"
      title=":warning:"
      alt="⚠"
    /> sry vergessen <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/26a0.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--warning"
      title=":warning:"
      alt="⚠"
    /></p>
<p>Hilft mir aber nicht weiter, denn mein Programm stürzt irgendwo mittendrinn ab...<br />
Irgendwass mit dem Buffer läuft nicht richtig</p>
<pre><code class="language-cpp">#include &lt;stdio.h&gt;
#include &lt;windows.h&gt;

#define VERSION &quot;0.00.04&quot;

struct _ITEMLIST{
	char *path;
	struct _ITEMLIST *next;
};

typedef struct _ITEMLIST ITEMLIST;

void readFilesFromDirectory( char*, int* );

int main( int argc, char **argv )
/*
	Autor:	Oliver Lippert
	Begin:	2008-04-10
			2008-04-11  :  2008-04-14
	End:		==============
	Description:
		This program should be able to &quot;tag&quot; each type of document.
		Every user should be able to search &quot;taged&quot; documents because
		its much easyer to search tags then to search names like &quot;my*Search*Document*.*&quot;,
		and it should be much faster, because of the user add / delete documents to the program,
		so the range of search is not that big like the whole data of the users storage.
*/
{
	int files = 0;
	char path[] = &quot;D:\\*&quot;;

	printf( &quot;\t\t\ttagMyData Version %s\n\n&quot;, VERSION );
	Sleep( 2000 );
	printf( &quot;DIRECTORY:\t%s\n&quot;, path );
	readFilesFromDirectory( path, &amp;files );
	system( &quot;pause&quot; );
	return 0;
}

void readFilesFromDirectory( char *path, int *counter )
{
	HANDLE 				mySearch;
	WIN32_FIND_DATA		fileData;
	int					i;
	ITEMLIST			*first		= NULL,
						*akt		= NULL;

	mySearch = FindFirstFile( path, &amp;fileData ); //erste Datei auslesen
	if( mySearch != INVALID_HANDLE_VALUE )
	{
		do
			//solange noch dateien gefunden werden
		{
			if( strcmp( &quot;.&quot;, fileData.cFileName ) &amp;&amp;
				strcmp( &quot;..&quot;, fileData.cFileName ) &amp;&amp;
				strcmp( &quot;$RECYCLE.BIN&quot;, fileData.cFileName ) )
				//unterverzeichnisse haben immer noch &quot;.&quot; und &quot;..&quot;
			{
				if( fileData.dwFileAttributes &amp; FILE_ATTRIBUTE_DIRECTORY )
					//gefundener Ordner
				{
					if( first == NULL )
					{
						first = malloc( sizeof( ITEMLIST ) );
						akt = first;
						akt-&gt;next = NULL;
					}
					else
					{
						akt = first;
						while( akt-&gt;next != NULL )
							akt = akt-&gt;next;
						akt-&gt;next = malloc( sizeof( ITEMLIST ) );
						akt = akt-&gt;next;
						akt-&gt;next = NULL;
					}
					akt-&gt;path = malloc( (strlen(path)+strlen(fileData.cFileName))*sizeof(char) );

					for( i = 0; i &lt; strlen(path)-1; i++ )
						akt-&gt;path[i] = path[i];
					akt-&gt;path[i] = '\0';

					strcat( akt-&gt;path, fileData.cFileName );
					strcat( akt-&gt;path, &quot;\\*&quot; );

				}
				else
					//gefundene Datei
				{
					*counter += 1;
					printf( &quot;FILE %6d:&gt;\t\t%s\n&quot;, *counter, fileData.cFileName );
				}
			}
		}while( FindNextFile( mySearch, &amp;fileData ) );
		FindClose( mySearch );

		printf( &quot;.&quot; );
		akt = first;
		while( akt != NULL )
		{
			printf( &quot;DIRECTORY:\t%s\n&quot;, akt-&gt;path );
			readFilesFromDirectory( akt-&gt;path, counter );
			akt = akt-&gt;next;
			free( first );
			first = akt;
		}

	}
}
</code></pre>
<p>Den $RECYCLE.BIN hab ich schon rausgenommen,da stürzt das auch ab...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1490116</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1490116</guid><dc:creator><![CDATA[lippoliv]]></dc:creator><pubDate>Fri, 11 Apr 2008 07:50:31 GMT</pubDate></item><item><title><![CDATA[Reply to [anfängerfehler?]Ordnerdurchsuchen( FindNextFile stürzt ab ) on Fri, 11 Apr 2008 07:52:17 GMT]]></title><description><![CDATA[<p>Solche Fehler findet man am besten mit dem Debugger. Also VC6 starten, die Debugkonfiguration auswählen und F5 drücken. Und mit etwas Glück hält der Debugger genau an der Zeile an, welche die Probleme verursacht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1490150</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1490150</guid><dc:creator><![CDATA[sri]]></dc:creator><pubDate>Fri, 11 Apr 2008 07:52:17 GMT</pubDate></item><item><title><![CDATA[Reply to [anfängerfehler?]Ordnerdurchsuchen( FindNextFile stürzt ab ) on Fri, 11 Apr 2008 08:01:05 GMT]]></title><description><![CDATA[<p>Bis jetzt gab es nur Probleme, wenn ich eine *.c Datei in VC6 starten wollte...<br />
Also ich schreibe die ja in Notepad++ und da funtzt alles, aber VC6 hat komplett andere Bibliotheken oder so... Da funzt auf einmal nichts mehr,</p>
<p>und wenn ich sage &quot;Programm Debuggen&quot; startet VC6 und er Zeigt wir was an, was ich aber nicht verstehen kann...</p>
<p>Es scheint zu entstehen, wenn nach einer Datei ein Ordner als nächstes gefunden wird...<br />
Ich habe mal die Ausgabe mit &quot;dir&quot; abgeglichen...</p>
<p>Ahso die Aktuelle ausgabe:</p>
<pre><code>DIRECTORY: D:\*
D:\5ac88c6caf63642340b1fb\*
D:\CPROGS\*
D:\*****\*
D:\Debug\*
D:\GUIfN\*
D:\ProgPlanung\*
</code></pre>
<p>Das sind die Inhalte der structs(siehe edit von Post)<br />
dir zeigt an:</p>
<pre><code>Verzeichnis von D:\

17.09.2007  15:25    &lt;DIR&gt;          5ac88c6caf63642340b1fb
07.04.2008  15:59    &lt;DIR&gt;          CPROGS
26.03.2008  11:18    &lt;DIR&gt;          *****
15.02.2008  10:36    &lt;DIR&gt;          Debug
09.04.2008  12:58    &lt;DIR&gt;          GUIfN
08.01.2008  16:15    &lt;DIR&gt;          ProgPlanung
18.02.2008  14:39    &lt;DIR&gt;          psdk
12.03.2008  14:47    &lt;DIR&gt;          sys42
08.04.2008  12:58    &lt;DIR&gt;          VMXP03
02.04.2008  11:45    &lt;DIR&gt;          VMXP03tmp
03.04.2008  12:41    &lt;DIR&gt;          Windows98 SE
08.01.2008  15:17    &lt;DIR&gt;          xampp
</code></pre>
<p>Ich habe ein System gemacht:<br />
|:Ich lese erst die Dateien aus, zeige diese an, und rufe dann rekursiv die selbe function mit dem neuen Pfad(unterordner1) auf.:|<br />
Das Funktioniert einfach, finde ich eien Ordner hänge ich ihn einer Liste an.<br />
Finde ich eine Datei, zeige ich sie an.</p>
<p>Nach der while über FindNextFile gehe ich mit einer neuen while die Liste durch und rufe die selbe Funktion mit einem neuen Pfad auf xD.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1490153</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1490153</guid><dc:creator><![CDATA[lippoliv]]></dc:creator><pubDate>Fri, 11 Apr 2008 08:01:05 GMT</pubDate></item><item><title><![CDATA[Reply to [anfängerfehler?]Ordnerdurchsuchen( FindNextFile stürzt ab ) on Fri, 11 Apr 2008 08:17:54 GMT]]></title><description><![CDATA[<p>lippoliv schrieb:</p>
<blockquote>
<p>Bis jetzt gab es nur Probleme, wenn ich eine *.c Datei in VC6 starten wollte...<br />
Also ich schreibe die ja in Notepad++ und da funtzt alles, aber VC6 hat komplett andere Bibliotheken oder so... Da funzt auf einmal nichts mehr,</p>
<p>und wenn ich sage &quot;Programm Debuggen&quot; startet VC6 und er Zeigt wir was an, was ich aber nicht verstehen kann...</p>
</blockquote>
<p>Sorry, aber Du kannst nicht Notepad++ als Editor und das Forum hier als Debugger verwenden. Beschäftige Dich erst einmal mit den Grundlagen von VC6, erstelle mit dem AppWizard kleinere Projekte und spiele mit dem Debugger. Alles andere ist verschwendete Zeit.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1490161</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1490161</guid><dc:creator><![CDATA[sri]]></dc:creator><pubDate>Fri, 11 Apr 2008 08:17:54 GMT</pubDate></item><item><title><![CDATA[Reply to [anfängerfehler?]Ordnerdurchsuchen( FindNextFile stürzt ab ) on Fri, 11 Apr 2008 08:33:37 GMT]]></title><description><![CDATA[<p>Was ich von einem derartigen Programm erwarte ist, dass es im Stande sein sollte, eine normale C Datei, bei der der MinGW(gnu c) Debugger nicht meckert, auch nicht meckert...</p>
<p>Ich werds gleich mal machen, und ich poste dann mal was das Ding meckert, dann kannst du mir sagen, ob du irgendeine Laune hättest noch weiter damint zu Arbeiten...</p>
<p>Ist echt nich bös gemeint, aber ich denke halt, wenn das programm abstürzt, hab ich irgendwo einen ersichtlichen Fehler...</p>
<p>[edit]Gut ich habe vorschnell geurteilt sry,<br />
es gab nur ein problem bei &quot;i &lt; strlen()&quot; musste zu &quot;i &lt; (signed)strlen()&quot;<br />
Mit dem jetzigen Programm funktioniert es, woran liegt das?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1490167</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1490167</guid><dc:creator><![CDATA[lippoliv]]></dc:creator><pubDate>Fri, 11 Apr 2008 08:33:37 GMT</pubDate></item><item><title><![CDATA[Reply to [anfängerfehler?]Ordnerdurchsuchen( FindNextFile stürzt ab ) on Fri, 11 Apr 2008 11:06:20 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">...
 akt-&gt;path = malloc( (strlen(path)+strlen(fileData.cFileName))*sizeof(char) );

 for( i = 0; i &lt; strlen(path)-1; i++ )
    akt-&gt;path[i] = path[i];
 akt-&gt;path[i] = '\0';
 strcat( akt-&gt;path, fileData.cFileName );
 strcat( akt-&gt;path, &quot;\\*&quot; );
...
</code></pre>
<p>Rechne mal nach, ob der Puffer auf den akt-&gt;path nach Aufruf von malloc zeigt, überhaupt groß genug sein kann.</p>
<p>Btw.: Nur <a href="http://de.wikipedia.org/wiki/Klingonen#Klingonen" rel="nofollow">Klingonen</a> programmieren mit Notepad. <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f62e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_open_mouth"
      title=":open_mouth:"
      alt="😮"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1490259</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1490259</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Fri, 11 Apr 2008 11:06:20 GMT</pubDate></item><item><title><![CDATA[Reply to [anfängerfehler?]Ordnerdurchsuchen( FindNextFile stürzt ab ) on Fri, 11 Apr 2008 12:23:55 GMT]]></title><description><![CDATA[<p>Danke dir, das wars wirklich, hab nochmal 10 draufgepackt, jetz läufts...</p>
<p>Macht VC6 das wirklich?</p>
<p>Wegen dem aufbrausen: ich Arbeite dran <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>
<p>Ich mach weiter mit Notepad++, warum? Weil da kein &quot;ICH WURDE MIT VC6-FREE GEMACHT&quot;-Fenster am start des Programmes gemacht xD<br />
Irgendwann nehm ich mir ecplipse</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1490307</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1490307</guid><dc:creator><![CDATA[lippoliv]]></dc:creator><pubDate>Fri, 11 Apr 2008 12:23:55 GMT</pubDate></item><item><title><![CDATA[Reply to [anfängerfehler?]Ordnerdurchsuchen( FindNextFile stürzt ab ) on Fri, 11 Apr 2008 12:32:05 GMT]]></title><description><![CDATA[<p>sri schrieb:</p>
<blockquote>
<p>Sorry, aber Du kannst nicht Notepad++ als Editor und das Forum hier als Debugger verwenden. Beschäftige Dich erst einmal mit den Grundlagen von VC6, erstelle mit dem AppWizard kleinere Projekte und spiele mit dem Debugger. Alles andere ist verschwendete Zeit.</p>
</blockquote>
<p>Da kann ich mich sri nur anschließen.<br />
Das Forum hier kann Dir <strong>nur Hilfestellung geben</strong>, ist aber <strong>kein Debugger-Ersatz</strong>! Das wäre echt zuviel verlangt.</p>
<p>Du wurdest hier im Forum schon mehrfach darauf aufmerksam gemacht worden.<br />
Stichwort &quot;mit dem Ruderboot übern Atlantik&quot;, erinnerst Du Dich noch daran? <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f621.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--pouting_face"
      title=":rage:"
      alt="😡"
    /></p>
<p>Bitte, tu <strong>uns allen</strong> den Gefallen: Mach einfach mal ein kleines Projekt a la &quot;Hello World&quot; mit Visual C++. (Du sagtest ja mal vor ein paar Wochen oder Anfang dieses Jahres, daß Du VC++ schon besorgt hast) Und nimm Dir den längst überfälligen Abschied vom Gespann &quot;NP++ und MinGW&quot; vor. Punkt.</p>
<p>Du hast ja selbst gesagt, daß Du mal mit Delphi und dem Debugger gearbeitet hast. Ist das nicht ein Ansporn genug, endlich mal wieder genau Bescheid zu wissen, welche Werte die Variablen tatsächlich haben?</p>
<p>lippoliv schrieb:</p>
<blockquote>
<p>Was ich von einem derartigen Programm erwarte ist, dass es im Stande sein sollte, eine normale C Datei, bei der der MinGW(gnu c) Debugger nicht meckert, auch nicht meckert...</p>
</blockquote>
<p>Wenn der Visual C Compiler oder Debugger meckert, dann heißt es folgendes:<br />
a) Deine Software ist fehlerhaft und/oder<br />
b) Deine MinGW Umgebung ignoriert (oder unterdrückt) offensichtlich sämtliche Warnungen!</p>
<p>Martin</p>
<p>Visual C++ FAQ: <a href="http://www.mpdvc.de/" rel="nofollow">http://www.mpdvc.de/</a><br />
MVP Visual C++ FAQ: <a href="http://vcfaq.mvps.org/" rel="nofollow">http://vcfaq.mvps.org/</a><br />
Microsoft Visual C++ Tutorials: <a href="http://msdn2.microsoft.com/en-us/library/aa733747.aspx" rel="nofollow">http://msdn2.microsoft.com/en-us/library/aa733747.aspx</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1490310</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1490310</guid><dc:creator><![CDATA[Mmacher]]></dc:creator><pubDate>Fri, 11 Apr 2008 12:32:05 GMT</pubDate></item><item><title><![CDATA[Reply to [anfängerfehler?]Ordnerdurchsuchen( FindNextFile stürzt ab ) on Fri, 11 Apr 2008 12:34:20 GMT]]></title><description><![CDATA[<p>Warum nimmst du dir nicht VC 2008 Express Edition? Ist sowieso besser als das veralterte und nicht standardkonforme VC6...</p>
<p>Oder hat die ExpressEdition auch so einen Splashscreen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1490311</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1490311</guid><dc:creator><![CDATA[mad_martin]]></dc:creator><pubDate>Fri, 11 Apr 2008 12:34:20 GMT</pubDate></item><item><title><![CDATA[Reply to [anfängerfehler?]Ordnerdurchsuchen( FindNextFile stürzt ab ) on Fri, 11 Apr 2008 12:41:39 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/16457">@Mmacher</a> : Ähem, hust, hust. lippolivs Problem konnte auch ohne Debugger erkannt werden.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1490315</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1490315</guid><dc:creator><![CDATA[[[global:guest]]]]></dc:creator><pubDate>Fri, 11 Apr 2008 12:41:39 GMT</pubDate></item><item><title><![CDATA[Reply to [anfängerfehler?]Ordnerdurchsuchen( FindNextFile stürzt ab ) on Fri, 11 Apr 2008 13:48:54 GMT]]></title><description><![CDATA[<p>merker schrieb:</p>
<blockquote>
<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/16457">@Mmacher</a> : Ähem, hust, hust. lippolivs Problem konnte auch ohne Debugger erkannt werden.</p>
</blockquote>
<p>Du hast den Sinn wahrscheinlich nicht erkannt.<br />
Hätte lippoliv einen Debugger gehabt, wäre er mit Sicherheit von alleine auf diesen primitiven Fehler gekommen.<br />
Außerdem wollen wir ja nicht immerzu den Ersatz-Debugger für ihn spielen.<br />
Falls Du es nicht glauben kannst, guck mal alle Beiträge von lippoliv hier im Forum an. Irgendwann ist ja mal Schluß mit lustig.</p>
<p>Martin</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1490355</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1490355</guid><dc:creator><![CDATA[Mmacher]]></dc:creator><pubDate>Fri, 11 Apr 2008 13:48:54 GMT</pubDate></item></channel></rss>