<?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[Initial Prozess soll 2 Prozesse aufrufen -&amp;gt; Kindprozesse crashen]]></title><description><![CDATA[<p>Hallo,</p>
<p>wir sollen in Betriebssysteme ein Programm schreiben das ber einen Initial Prozess 2 Kindprozesse aufruft, die etwas in eine MappingFile schreiben.</p>
<p>Der Initialprozess soll das ganze dann wieder auslesen.</p>
<p>Das ganze funktioniert auch soweit, ausser das unsere Kindprozesse crashen und deswegen wohl nichts geschrieben wird <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":/"
      alt="😕"
    /></p>
<p>hier unser code:</p>
<p>Initialprozess:</p>
<pre><code class="language-cpp"># include &lt;windows.h&gt;
# include &lt;stdio.h&gt;
# include &lt;iostream&gt;

using namespace std;

void main ()
{
	HANDLE Mapfile;
	LPVOID mvof;
	char* ptr1;
	char* Anfangsadresse;

	Mapfile = CreateFileMapping (INVALID_HANDLE_VALUE, NULL, PAGE_READWRITE, 0, 5, &quot;MappingObj&quot;);

	if (Mapfile== NULL)
		cout&lt;&lt;&quot;Mapfile konnte nicht erstellt werden!\n&quot;;
	else
	{
		cout&lt;&lt;&quot;Mapfile wurde erfolgreich erstellt.\n&quot;;

		// Datei in virtuelle Adresse einblenden

		mvof = MapViewOfFile( Mapfile, FILE_MAP_ALL_ACCESS, 0, 0, 0);
		ptr1 = (char*)mvof;

		if (ptr1== NULL)
			cout&lt;&lt;&quot;Fehler: Einblenden in virtuellen Adressraum fehlgeschlagen!\n&quot;;
		else
			cout.setf (ios::hex);		// Korrekte Darstellung

		// Ausgabe der virtuellen Adresse

		cout&lt;&lt;&quot;Virtuelle Adresse: &quot;&lt;&lt;mvof&lt;&lt;&quot;\n\n&quot;;

		Anfangsadresse = ptr1; // Sichern der Anfangsadresse

	}

	// Erzeugung Prozess 2 und 3

	STARTUPINFO startupInfoA;
	PROCESS_INFORMATION processInfoA;

	STARTUPINFO startupInfoB;
	PROCESS_INFORMATION processInfoB;

	// Fenstertitel aendern

	GetStartupInfo(&amp;startupInfoA);
	startupInfoA.lpTitle= &quot;Prozess 2&quot;;

	GetStartupInfo(&amp;startupInfoB);
	startupInfoB.lpTitle= &quot;Prozess 3&quot;;

	// Prozess 2 und 3  erstellen 

	if (CreateProcess(NULL, &quot;D:\\Dokumente und Einstellungen\\Chegger\\Desktop\\H-Darmstadt\\BSProjekte\\Praktikum2 BS\\Debug\\Prozess2.exe&quot;, NULL, NULL, NULL, CREATE_NEW_CONSOLE, NULL, NULL, &amp;startupInfoA, &amp;processInfoA) == FALSE)
		cout&lt;&lt; &quot;Fehler Prozess 2 konnte nicht erstellt werden\n&quot;;
	else
		cout&lt;&lt; &quot;Prozess 2 konnte erstellt werden\n&quot;;

	if (CreateProcess(NULL, &quot;D:\\Dokumente und Einstellungen\\Chegger\\Desktop\\H-Darmstadt\\BSProjekte\\Praktikum2 BS\\Debug\\Prozess3.exe&quot;, NULL, NULL, NULL, CREATE_NEW_CONSOLE, NULL, NULL, &amp;startupInfoB, &amp;processInfoB) == FALSE)
		cout&lt;&lt; &quot;Fehler Prozess 3 konnte nicht erstellt werden\n&quot;;
	else
		cout&lt;&lt; &quot;Prozess 3 konnte erstellt werden\n&quot;;

	//Auf Eingabe warten

	cout &lt;&lt; &quot;\n\nBitte Eingabe machen...\n&quot;;
	getchar();

	//Auslesen der von Prozess 2 und 3 geschriebenen Zeichen

	cout &lt;&lt; &quot;\nDas erste Zeichen ist: &quot; &lt;&lt; *ptr1 &lt;&lt; &quot;\n&quot;;
	*ptr1++;

	cout &lt;&lt; &quot;\nDas zweite Zeichen ist: &quot; &lt;&lt; *ptr1 &lt;&lt; &quot;\n&quot;;
	*ptr1++;

	cout &lt;&lt; &quot;\nDas dritte Zeichen ist: &quot; &lt;&lt; *ptr1 &lt;&lt; &quot;\n&quot;;
	*ptr1++;

	cout &lt;&lt; &quot;\nDas vierte Zeichen ist: &quot; &lt;&lt; *ptr1 &lt;&lt; &quot;\n&quot;;
	*ptr1++;

	cout &lt;&lt; &quot;\nDas fuenfte Zeichen ist: &quot; &lt;&lt; *ptr1 &lt;&lt; &quot;\n&quot;;
	*ptr1++;

	cout &lt;&lt; &quot;\nDas sechste Zeichen ist: &quot; &lt;&lt; *ptr1 &lt;&lt; &quot;\n&quot;;
	*ptr1++;

	//Einblendung wieder aufheben

			if(UnmapViewOfFile (Anfangsadresse ) == FALSE)
				cout &lt;&lt; &quot;Fehler: einblendung konnte nicht wieder geschlossen werden!\n&quot;;

			else
				cout &lt;&lt; &quot;UnmapViewOfFile erfolgreich.\n&quot;;

			// Handle schließen

			if ( CloseHandle (Mapfile) == FALSE)
				cout &lt;&lt; &quot;Fehler - Das Handle konnte nicht geschlossen werden!\n&quot;;

			else
			{
				cout &lt;&lt; &quot;Handle erfolgreich geschlossen.\n&quot;;

				//ExitProcess(0);
			}
			system(&quot;PAUSE&quot;);
}
</code></pre>
<p>Prozess 2:</p>
<pre><code class="language-cpp"># include &lt;windows.h&gt;
# include &lt;stdio.h&gt;
# include &lt;iostream&gt;

using namespace std;

void main ()
{

	HANDLE ofmhandle;
	LPVOID mvof;
	char* ptr2;
	char* Anfangsadresse;
	int chr;

	do
	{
		//oeffnen eines benannten Dateiabbildungsobjektes (&quot;MappingObj&quot;)
		//Return: Handle oder NULL

		ofmhandle = OpenFileMapping (FILE_MAP_ALL_ACCESS, FALSE, &quot;MappingObj&quot; );

		if(ofmhandle == NULL)
			cout&lt;&lt;&quot;OpenFileMapping fehlgeschlagen!\n&quot;;

		else
		{
			cout &lt;&lt; &quot;OpenFileMapping erfolgreich.\n&quot;;

			//Datei in virtuellen Adressraum einblenden

			mvof = MapViewOfFile ( ofmhandle, FILE_MAP_ALL_ACCESS, 0, 0, 0);

			if (mvof = NULL)
				cout &lt;&lt; &quot;MapViewOfFile fehlgeschlagen!\n&quot;;

			else
			{
				ptr2 = (char*) mvof;

				Anfangsadresse = ptr2; // Anfangadrese sichern

				// Ausgabe der Anfangsadresse
				cout &lt;&lt; &quot;\nAnfangsadresse: &quot; &lt;&lt; mvof &lt;&lt; &quot;\n&quot;;

				cout.setf( ios::hex); //korrekte Darstellung

				// Speichern der Zeichen 1,3 und 9
				*ptr2 = '1';
				cout &lt;&lt; &quot;Speichern des ersten Zeichens: &quot; &lt;&lt; *ptr2 &lt;&lt; &quot;\n&quot;;
				*ptr2++;

				*ptr2 = '3';
				cout &lt;&lt; &quot;Speichern des zweiten Zeichens: &quot; &lt;&lt; *ptr2 &lt;&lt; &quot;\n&quot;;
				*ptr2++;

				*ptr2 = '9';
				cout &lt;&lt; &quot;Speichern des dritten Zeichens: &quot; &lt;&lt; *ptr2 &lt;&lt; &quot;\n&quot;;
				*ptr2++;

				Sleep (600);
			}
		}
	}while (chr == 0 );

	//Einblendung wieder aufheben

	if(UnmapViewOfFile (Anfangsadresse ) == FALSE)
	cout &lt;&lt; &quot;Fehler: einblendung konnte nicht wieder geschlossen werden!\n&quot;;

	else
		cout &lt;&lt; &quot;UnmapViewOfFile erfolgreich.\n&quot;;

	// Handle schließen

	if ( CloseHandle (ofmhandle) == FALSE)
		cout &lt;&lt; &quot;Fehler - Das Handle konnte nicht geschlossen werden!\n&quot;;

	else
	{
		cout &lt;&lt; &quot;Handle erfolgreich geschlossen.\n&quot;;

	}
	ExitProcess(0);
}
</code></pre>
<p>Prozess 3</p>
<pre><code class="language-cpp"># include &lt;windows.h&gt;
# include &lt;stdio.h&gt;
# include &lt;iostream&gt;

using namespace std;

void main ()
{

	HANDLE ofmhandle;
	LPVOID mvof;
	char* ptr3;
	char* Anfangsadresse;
	int chr;

	do
	{
		//oeffnen eines benannten Dateiabbildungsobjektes (&quot;MappingObj&quot;)
		//Return: Handle oder NULL

		ofmhandle = OpenFileMapping (FILE_MAP_ALL_ACCESS, FALSE, &quot;MappingObj&quot; );

		if(ofmhandle == NULL)
			cout&lt;&lt;&quot;OpenFileMapping fehlgeschlagen!\n&quot;;

		else
		{
			cout &lt;&lt; &quot;OpenFileMapping erfolgreich.\n&quot;;

			if(mvof== NULL)
			cout&lt;&lt;&quot;Fehler: MapViewOfFile fehlgeschlagen!\n&quot;;

			else
			{
				ptr3 = (char*) mvof;

				Anfangsadresse = ptr3; // Anfangadrese sichern

				// Ausgabe der Anfangsadresse
				cout &lt;&lt; &quot;\nAnfangsadresse: &quot; &lt;&lt; mvof &lt;&lt; &quot;\n&quot;;

				cout.setf( ios::hex); //korrekte Darstellung

				// Speichern der Zeichen 1,3 und 9
				*ptr3 = *ptr3+3;

				*ptr3 = 'U';
				cout &lt;&lt; &quot;Speichern des ersten Zeichens: &quot; &lt;&lt; *ptr3 &lt;&lt; &quot;\n&quot;;
				*ptr3++;

				*ptr3 = 'V';
				cout &lt;&lt; &quot;Speichern des zweiten Zeichens: &quot; &lt;&lt; *ptr3 &lt;&lt; &quot;\n&quot;;
				*ptr3++;

				*ptr3 = 'W';
				cout &lt;&lt; &quot;Speichern des dritten Zeichens: &quot; &lt;&lt; *ptr3 &lt;&lt; &quot;\n&quot;;
				*ptr3++;

				Sleep (300);
			}
		}
	}while( chr == 0);

	//Einblendung wieder aufheben

	if(UnmapViewOfFile (Anfangsadresse ) == FALSE)
		cout &lt;&lt; &quot;Fehler: einblendung konnte nicht wieder geschlossen werden!\n&quot;;

		else
			cout &lt;&lt; &quot;UnmapViewOfFile erfolgreich.\n&quot;;

	// Handle schließen

	if ( CloseHandle (ofmhandle) == FALSE)
		cout &lt;&lt; &quot;Fehler - Das Handle konnte nicht geschlossen werden!\n&quot;;

	else
	{
		cout &lt;&lt; &quot;Handle erfolgreich geschlossen.\n&quot;;
	}
	ExitProcess(0);
}
</code></pre>
<p>P:S Wir haben die/das Projekt(e) auf Mutlibytecodierung umgestellt, an dem Pfad liegt es also nicht, die Prozesse werden ja auch erstellt.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/227289/initial-prozess-soll-2-prozesse-aufrufen-gt-kindprozesse-crashen</link><generator>RSS for Node</generator><lastBuildDate>Wed, 30 Sep 2026 04:43:29 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/227289.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 13 Nov 2008 12:43:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Initial Prozess soll 2 Prozesse aufrufen -&amp;gt; Kindprozesse crashen on Thu, 13 Nov 2008 12:43:12 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>wir sollen in Betriebssysteme ein Programm schreiben das ber einen Initial Prozess 2 Kindprozesse aufruft, die etwas in eine MappingFile schreiben.</p>
<p>Der Initialprozess soll das ganze dann wieder auslesen.</p>
<p>Das ganze funktioniert auch soweit, ausser das unsere Kindprozesse crashen und deswegen wohl nichts geschrieben wird <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":/"
      alt="😕"
    /></p>
<p>hier unser code:</p>
<p>Initialprozess:</p>
<pre><code class="language-cpp"># include &lt;windows.h&gt;
# include &lt;stdio.h&gt;
# include &lt;iostream&gt;

using namespace std;

void main ()
{
	HANDLE Mapfile;
	LPVOID mvof;
	char* ptr1;
	char* Anfangsadresse;

	Mapfile = CreateFileMapping (INVALID_HANDLE_VALUE, NULL, PAGE_READWRITE, 0, 5, &quot;MappingObj&quot;);

	if (Mapfile== NULL)
		cout&lt;&lt;&quot;Mapfile konnte nicht erstellt werden!\n&quot;;
	else
	{
		cout&lt;&lt;&quot;Mapfile wurde erfolgreich erstellt.\n&quot;;

		// Datei in virtuelle Adresse einblenden

		mvof = MapViewOfFile( Mapfile, FILE_MAP_ALL_ACCESS, 0, 0, 0);
		ptr1 = (char*)mvof;

		if (ptr1== NULL)
			cout&lt;&lt;&quot;Fehler: Einblenden in virtuellen Adressraum fehlgeschlagen!\n&quot;;
		else
			cout.setf (ios::hex);		// Korrekte Darstellung

		// Ausgabe der virtuellen Adresse

		cout&lt;&lt;&quot;Virtuelle Adresse: &quot;&lt;&lt;mvof&lt;&lt;&quot;\n\n&quot;;

		Anfangsadresse = ptr1; // Sichern der Anfangsadresse

	}

	// Erzeugung Prozess 2 und 3

	STARTUPINFO startupInfoA;
	PROCESS_INFORMATION processInfoA;

	STARTUPINFO startupInfoB;
	PROCESS_INFORMATION processInfoB;

	// Fenstertitel aendern

	GetStartupInfo(&amp;startupInfoA);
	startupInfoA.lpTitle= &quot;Prozess 2&quot;;

	GetStartupInfo(&amp;startupInfoB);
	startupInfoB.lpTitle= &quot;Prozess 3&quot;;

	// Prozess 2 und 3  erstellen 

	if (CreateProcess(NULL, &quot;D:\\Dokumente und Einstellungen\\Chegger\\Desktop\\H-Darmstadt\\BSProjekte\\Praktikum2 BS\\Debug\\Prozess2.exe&quot;, NULL, NULL, NULL, CREATE_NEW_CONSOLE, NULL, NULL, &amp;startupInfoA, &amp;processInfoA) == FALSE)
		cout&lt;&lt; &quot;Fehler Prozess 2 konnte nicht erstellt werden\n&quot;;
	else
		cout&lt;&lt; &quot;Prozess 2 konnte erstellt werden\n&quot;;

	if (CreateProcess(NULL, &quot;D:\\Dokumente und Einstellungen\\Chegger\\Desktop\\H-Darmstadt\\BSProjekte\\Praktikum2 BS\\Debug\\Prozess3.exe&quot;, NULL, NULL, NULL, CREATE_NEW_CONSOLE, NULL, NULL, &amp;startupInfoB, &amp;processInfoB) == FALSE)
		cout&lt;&lt; &quot;Fehler Prozess 3 konnte nicht erstellt werden\n&quot;;
	else
		cout&lt;&lt; &quot;Prozess 3 konnte erstellt werden\n&quot;;

	//Auf Eingabe warten

	cout &lt;&lt; &quot;\n\nBitte Eingabe machen...\n&quot;;
	getchar();

	//Auslesen der von Prozess 2 und 3 geschriebenen Zeichen

	cout &lt;&lt; &quot;\nDas erste Zeichen ist: &quot; &lt;&lt; *ptr1 &lt;&lt; &quot;\n&quot;;
	*ptr1++;

	cout &lt;&lt; &quot;\nDas zweite Zeichen ist: &quot; &lt;&lt; *ptr1 &lt;&lt; &quot;\n&quot;;
	*ptr1++;

	cout &lt;&lt; &quot;\nDas dritte Zeichen ist: &quot; &lt;&lt; *ptr1 &lt;&lt; &quot;\n&quot;;
	*ptr1++;

	cout &lt;&lt; &quot;\nDas vierte Zeichen ist: &quot; &lt;&lt; *ptr1 &lt;&lt; &quot;\n&quot;;
	*ptr1++;

	cout &lt;&lt; &quot;\nDas fuenfte Zeichen ist: &quot; &lt;&lt; *ptr1 &lt;&lt; &quot;\n&quot;;
	*ptr1++;

	cout &lt;&lt; &quot;\nDas sechste Zeichen ist: &quot; &lt;&lt; *ptr1 &lt;&lt; &quot;\n&quot;;
	*ptr1++;

	//Einblendung wieder aufheben

			if(UnmapViewOfFile (Anfangsadresse ) == FALSE)
				cout &lt;&lt; &quot;Fehler: einblendung konnte nicht wieder geschlossen werden!\n&quot;;

			else
				cout &lt;&lt; &quot;UnmapViewOfFile erfolgreich.\n&quot;;

			// Handle schließen

			if ( CloseHandle (Mapfile) == FALSE)
				cout &lt;&lt; &quot;Fehler - Das Handle konnte nicht geschlossen werden!\n&quot;;

			else
			{
				cout &lt;&lt; &quot;Handle erfolgreich geschlossen.\n&quot;;

				//ExitProcess(0);
			}
			system(&quot;PAUSE&quot;);
}
</code></pre>
<p>Prozess 2:</p>
<pre><code class="language-cpp"># include &lt;windows.h&gt;
# include &lt;stdio.h&gt;
# include &lt;iostream&gt;

using namespace std;

void main ()
{

	HANDLE ofmhandle;
	LPVOID mvof;
	char* ptr2;
	char* Anfangsadresse;
	int chr;

	do
	{
		//oeffnen eines benannten Dateiabbildungsobjektes (&quot;MappingObj&quot;)
		//Return: Handle oder NULL

		ofmhandle = OpenFileMapping (FILE_MAP_ALL_ACCESS, FALSE, &quot;MappingObj&quot; );

		if(ofmhandle == NULL)
			cout&lt;&lt;&quot;OpenFileMapping fehlgeschlagen!\n&quot;;

		else
		{
			cout &lt;&lt; &quot;OpenFileMapping erfolgreich.\n&quot;;

			//Datei in virtuellen Adressraum einblenden

			mvof = MapViewOfFile ( ofmhandle, FILE_MAP_ALL_ACCESS, 0, 0, 0);

			if (mvof = NULL)
				cout &lt;&lt; &quot;MapViewOfFile fehlgeschlagen!\n&quot;;

			else
			{
				ptr2 = (char*) mvof;

				Anfangsadresse = ptr2; // Anfangadrese sichern

				// Ausgabe der Anfangsadresse
				cout &lt;&lt; &quot;\nAnfangsadresse: &quot; &lt;&lt; mvof &lt;&lt; &quot;\n&quot;;

				cout.setf( ios::hex); //korrekte Darstellung

				// Speichern der Zeichen 1,3 und 9
				*ptr2 = '1';
				cout &lt;&lt; &quot;Speichern des ersten Zeichens: &quot; &lt;&lt; *ptr2 &lt;&lt; &quot;\n&quot;;
				*ptr2++;

				*ptr2 = '3';
				cout &lt;&lt; &quot;Speichern des zweiten Zeichens: &quot; &lt;&lt; *ptr2 &lt;&lt; &quot;\n&quot;;
				*ptr2++;

				*ptr2 = '9';
				cout &lt;&lt; &quot;Speichern des dritten Zeichens: &quot; &lt;&lt; *ptr2 &lt;&lt; &quot;\n&quot;;
				*ptr2++;

				Sleep (600);
			}
		}
	}while (chr == 0 );

	//Einblendung wieder aufheben

	if(UnmapViewOfFile (Anfangsadresse ) == FALSE)
	cout &lt;&lt; &quot;Fehler: einblendung konnte nicht wieder geschlossen werden!\n&quot;;

	else
		cout &lt;&lt; &quot;UnmapViewOfFile erfolgreich.\n&quot;;

	// Handle schließen

	if ( CloseHandle (ofmhandle) == FALSE)
		cout &lt;&lt; &quot;Fehler - Das Handle konnte nicht geschlossen werden!\n&quot;;

	else
	{
		cout &lt;&lt; &quot;Handle erfolgreich geschlossen.\n&quot;;

	}
	ExitProcess(0);
}
</code></pre>
<p>Prozess 3</p>
<pre><code class="language-cpp"># include &lt;windows.h&gt;
# include &lt;stdio.h&gt;
# include &lt;iostream&gt;

using namespace std;

void main ()
{

	HANDLE ofmhandle;
	LPVOID mvof;
	char* ptr3;
	char* Anfangsadresse;
	int chr;

	do
	{
		//oeffnen eines benannten Dateiabbildungsobjektes (&quot;MappingObj&quot;)
		//Return: Handle oder NULL

		ofmhandle = OpenFileMapping (FILE_MAP_ALL_ACCESS, FALSE, &quot;MappingObj&quot; );

		if(ofmhandle == NULL)
			cout&lt;&lt;&quot;OpenFileMapping fehlgeschlagen!\n&quot;;

		else
		{
			cout &lt;&lt; &quot;OpenFileMapping erfolgreich.\n&quot;;

			if(mvof== NULL)
			cout&lt;&lt;&quot;Fehler: MapViewOfFile fehlgeschlagen!\n&quot;;

			else
			{
				ptr3 = (char*) mvof;

				Anfangsadresse = ptr3; // Anfangadrese sichern

				// Ausgabe der Anfangsadresse
				cout &lt;&lt; &quot;\nAnfangsadresse: &quot; &lt;&lt; mvof &lt;&lt; &quot;\n&quot;;

				cout.setf( ios::hex); //korrekte Darstellung

				// Speichern der Zeichen 1,3 und 9
				*ptr3 = *ptr3+3;

				*ptr3 = 'U';
				cout &lt;&lt; &quot;Speichern des ersten Zeichens: &quot; &lt;&lt; *ptr3 &lt;&lt; &quot;\n&quot;;
				*ptr3++;

				*ptr3 = 'V';
				cout &lt;&lt; &quot;Speichern des zweiten Zeichens: &quot; &lt;&lt; *ptr3 &lt;&lt; &quot;\n&quot;;
				*ptr3++;

				*ptr3 = 'W';
				cout &lt;&lt; &quot;Speichern des dritten Zeichens: &quot; &lt;&lt; *ptr3 &lt;&lt; &quot;\n&quot;;
				*ptr3++;

				Sleep (300);
			}
		}
	}while( chr == 0);

	//Einblendung wieder aufheben

	if(UnmapViewOfFile (Anfangsadresse ) == FALSE)
		cout &lt;&lt; &quot;Fehler: einblendung konnte nicht wieder geschlossen werden!\n&quot;;

		else
			cout &lt;&lt; &quot;UnmapViewOfFile erfolgreich.\n&quot;;

	// Handle schließen

	if ( CloseHandle (ofmhandle) == FALSE)
		cout &lt;&lt; &quot;Fehler - Das Handle konnte nicht geschlossen werden!\n&quot;;

	else
	{
		cout &lt;&lt; &quot;Handle erfolgreich geschlossen.\n&quot;;
	}
	ExitProcess(0);
}
</code></pre>
<p>P:S Wir haben die/das Projekt(e) auf Mutlibytecodierung umgestellt, an dem Pfad liegt es also nicht, die Prozesse werden ja auch erstellt.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1614068</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1614068</guid><dc:creator><![CDATA[Gunnzen]]></dc:creator><pubDate>Thu, 13 Nov 2008 12:43:12 GMT</pubDate></item></channel></rss>