<?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[Viele Fehler: Speicherreservierung und GetWindowText]]></title><description><![CDATA[<p>Hallo.</p>
<p>Ich schreibe mal wieder an einem Windowsprogramm und ecke ständig mit kleinen Fehlern irgendwo an. Ich habe 2 Edit-Boxen, wo ich gerne jeweils einen Integer einlesen will.</p>
<p>Mit GetWindowText lade ich das erst in einen Buffer und wandle das dann in einen int um. Das geht allerdings nicht, weil der Buffer nach GetWindowText wieder leer ist.</p>
<p>Weiterhin habe ich noch einen Fehler beim Schließen des Programms. Da kommt eine Fehlermeldung:</p>
<p>&quot;Die Anwendung 0x00401e7b verweist auf den Speicher 0xccccccccc0. Der Vorgang read konnte nicht auf dem Speicher ausgeführt werden.&quot;</p>
<p>Kann da mal bitte einer nachschauen, ob die Speicherreservierung auch richtig gemacht worden ist?</p>
<p>Hier ist ersteinmal mein Programmcode soweit:<br />
Main.cpp</p>
<pre><code class="language-cpp"># include &lt;windows.h&gt;
# include &lt;stdio.h&gt;
//# include &quot;matrix.h&quot; //Klasse mit der ich noch arbeiten will

TCHAR szAppName[] = TEXT(&quot;Matrizen&quot;);

LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM);

int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
					LPSTR lpszCmdLine, int iCmdShow)
{
	HWND hwnd;
	WNDCLASS wndclass;
	MSG msg;

	wndclass.style = CS_HREDRAW| CS_VREDRAW;
	wndclass.cbClsExtra = 0;
	wndclass.cbWndExtra = 0;
	wndclass.lpfnWndProc = WndProc;
	wndclass.hInstance = hInstance;
	wndclass.hCursor = LoadCursor(NULL, IDC_ARROW);
	wndclass.hIcon = LoadIcon(NULL, IDI_APPLICATION);
	wndclass.lpszMenuName = (NULL);
	wndclass.lpszClassName = szAppName;
	wndclass.hbrBackground = (HBRUSH) GetStockObject (WHITE_BRUSH);

	if(!RegisterClass(&amp;wndclass))
	{
		MessageBox(NULL, TEXT(&quot;Fehler: Programm setzt Unicode voraus.&quot;), szAppName, MB_ICONERROR);
		return 0;
	};

	hwnd = CreateWindow (szAppName,
						 szAppName,
						 WS_CAPTION | WS_THICKFRAME | WS_OVERLAPPED | 
						 WS_MINIMIZEBOX | WS_SYSMENU,
						 100,
						 100,
						 500,
						 500,
						 NULL,
						 NULL,
						 hInstance,
						 NULL);

	ShowWindow(hwnd, iCmdShow);
	UpdateWindow(hwnd);

	while(GetMessage(&amp;msg, NULL, 0, 0))
	{
		TranslateMessage(&amp;msg);
		DispatchMessage(&amp;msg);
	};
	return msg.wParam;
};

LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{
	HWND hEditM, hEditN, hButtonCreate, hGroupAdd;
	HWND* hEditElements;
	HDC hdc;
	PAINTSTRUCT ps;
	TCHAR buffer[4];
	//matrix *mat;
	static int ctr=0, m, n;
	int i, j;

	switch(message){
		case WM_PAINT:
			hdc = BeginPaint(hwnd, &amp;ps);
			TextOut(hdc, 50, 35, TEXT(&quot;Dimension:&quot;),10); 
			TextOut(hdc, 215, 35, TEXT(&quot;x&quot;), 1);
			EndPaint(hwnd, &amp;ps);
			return 0;
		case WM_CREATE:
			hButtonCreate = CreateWindow (TEXT(&quot;button&quot;),
										  TEXT(&quot;Matrix erstellen&quot;),
										  WS_CHILD | WS_VISIBLE | BS_PUSHBUTTON,
										  330, 30, 130, 30,
										  hwnd, NULL, 
										  ((LPCREATESTRUCT) lParam)-&gt;hInstance, NULL);

			hGroupAdd =     CreateWindow (TEXT(&quot;button&quot;),
										  TEXT(&quot;Neue Matrix hinzufügen&quot;),
										  WS_CHILD | WS_VISIBLE | BS_GROUPBOX,
										  20, 10, 460, 60,
										  hwnd, NULL, 
										  ((LPCREATESTRUCT) lParam)-&gt;hInstance, NULL);

			hEditM =        CreateWindow (TEXT(&quot;edit&quot;), NULL, WS_CHILD | WS_BORDER | 
										  WS_VISIBLE | ES_CENTER, 150, 35, 40, 20, hwnd, NULL,
								          ((LPCREATESTRUCT) lParam)-&gt;hInstance, NULL);

			hEditN =        CreateWindow (TEXT(&quot;edit&quot;), NULL, WS_CHILD | WS_BORDER | 
										  WS_VISIBLE | ES_CENTER, 250, 35, 40, 20, hwnd, NULL,
								          ((LPCREATESTRUCT) lParam)-&gt;hInstance, NULL);
			return 0;
		case WM_DESTROY:
			delete []hEditElements;
			PostQuitMessage (0);
			return 0;
		case WM_COMMAND:
			if(LOWORD(wParam)==GetWindowLong (hButtonCreate, GWL_ID) &amp;&amp; 
				HIWORD(wParam)==BN_CLICKED)
			{
				ctr++;

				GetWindowText(hEditM, buffer, 3);
				m=atoi(buffer);
				GetWindowText(hEditN, buffer, 3);
				n=atoi(buffer);

				hEditElements = new HWND[m*n];
				MessageBox(hwnd, buffer, szAppName, NULL); // buffer ist anscheinend leer
				for(i=0;i&lt;=m-1;i++){
					for(j=0;j&lt;=n-1;j++)
					{	hEditElements[i*n+j] = CreateWindow
											(&quot;edit&quot;,
											 NULL,
											 WS_CHILD | WS_BORDER | ES_CENTER | WS_VISIBLE,
											 20+80*i, 180+30*j, 70, 20,
											 hwnd, NULL,
											 ((LPCREATESTRUCT) lParam)-&gt;hInstance, NULL);
					};
				};

			};
			return 0;
	};
	return DefWindowProc(hwnd, message, wParam, lParam);
};
</code></pre>
<p>Wäre toll wenn jemand den Fehler findet.</p>
<p>Schonmal Danke.<br />
Gruß<br />
Max</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/180577/viele-fehler-speicherreservierung-und-getwindowtext</link><generator>RSS for Node</generator><lastBuildDate>Thu, 09 Jul 2026 05:25:33 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/180577.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 04 May 2007 10:31:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Viele Fehler: Speicherreservierung und GetWindowText on Fri, 04 May 2007 10:31:31 GMT]]></title><description><![CDATA[<p>Hallo.</p>
<p>Ich schreibe mal wieder an einem Windowsprogramm und ecke ständig mit kleinen Fehlern irgendwo an. Ich habe 2 Edit-Boxen, wo ich gerne jeweils einen Integer einlesen will.</p>
<p>Mit GetWindowText lade ich das erst in einen Buffer und wandle das dann in einen int um. Das geht allerdings nicht, weil der Buffer nach GetWindowText wieder leer ist.</p>
<p>Weiterhin habe ich noch einen Fehler beim Schließen des Programms. Da kommt eine Fehlermeldung:</p>
<p>&quot;Die Anwendung 0x00401e7b verweist auf den Speicher 0xccccccccc0. Der Vorgang read konnte nicht auf dem Speicher ausgeführt werden.&quot;</p>
<p>Kann da mal bitte einer nachschauen, ob die Speicherreservierung auch richtig gemacht worden ist?</p>
<p>Hier ist ersteinmal mein Programmcode soweit:<br />
Main.cpp</p>
<pre><code class="language-cpp"># include &lt;windows.h&gt;
# include &lt;stdio.h&gt;
//# include &quot;matrix.h&quot; //Klasse mit der ich noch arbeiten will

TCHAR szAppName[] = TEXT(&quot;Matrizen&quot;);

LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM);

int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance,
					LPSTR lpszCmdLine, int iCmdShow)
{
	HWND hwnd;
	WNDCLASS wndclass;
	MSG msg;

	wndclass.style = CS_HREDRAW| CS_VREDRAW;
	wndclass.cbClsExtra = 0;
	wndclass.cbWndExtra = 0;
	wndclass.lpfnWndProc = WndProc;
	wndclass.hInstance = hInstance;
	wndclass.hCursor = LoadCursor(NULL, IDC_ARROW);
	wndclass.hIcon = LoadIcon(NULL, IDI_APPLICATION);
	wndclass.lpszMenuName = (NULL);
	wndclass.lpszClassName = szAppName;
	wndclass.hbrBackground = (HBRUSH) GetStockObject (WHITE_BRUSH);

	if(!RegisterClass(&amp;wndclass))
	{
		MessageBox(NULL, TEXT(&quot;Fehler: Programm setzt Unicode voraus.&quot;), szAppName, MB_ICONERROR);
		return 0;
	};

	hwnd = CreateWindow (szAppName,
						 szAppName,
						 WS_CAPTION | WS_THICKFRAME | WS_OVERLAPPED | 
						 WS_MINIMIZEBOX | WS_SYSMENU,
						 100,
						 100,
						 500,
						 500,
						 NULL,
						 NULL,
						 hInstance,
						 NULL);

	ShowWindow(hwnd, iCmdShow);
	UpdateWindow(hwnd);

	while(GetMessage(&amp;msg, NULL, 0, 0))
	{
		TranslateMessage(&amp;msg);
		DispatchMessage(&amp;msg);
	};
	return msg.wParam;
};

LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{
	HWND hEditM, hEditN, hButtonCreate, hGroupAdd;
	HWND* hEditElements;
	HDC hdc;
	PAINTSTRUCT ps;
	TCHAR buffer[4];
	//matrix *mat;
	static int ctr=0, m, n;
	int i, j;

	switch(message){
		case WM_PAINT:
			hdc = BeginPaint(hwnd, &amp;ps);
			TextOut(hdc, 50, 35, TEXT(&quot;Dimension:&quot;),10); 
			TextOut(hdc, 215, 35, TEXT(&quot;x&quot;), 1);
			EndPaint(hwnd, &amp;ps);
			return 0;
		case WM_CREATE:
			hButtonCreate = CreateWindow (TEXT(&quot;button&quot;),
										  TEXT(&quot;Matrix erstellen&quot;),
										  WS_CHILD | WS_VISIBLE | BS_PUSHBUTTON,
										  330, 30, 130, 30,
										  hwnd, NULL, 
										  ((LPCREATESTRUCT) lParam)-&gt;hInstance, NULL);

			hGroupAdd =     CreateWindow (TEXT(&quot;button&quot;),
										  TEXT(&quot;Neue Matrix hinzufügen&quot;),
										  WS_CHILD | WS_VISIBLE | BS_GROUPBOX,
										  20, 10, 460, 60,
										  hwnd, NULL, 
										  ((LPCREATESTRUCT) lParam)-&gt;hInstance, NULL);

			hEditM =        CreateWindow (TEXT(&quot;edit&quot;), NULL, WS_CHILD | WS_BORDER | 
										  WS_VISIBLE | ES_CENTER, 150, 35, 40, 20, hwnd, NULL,
								          ((LPCREATESTRUCT) lParam)-&gt;hInstance, NULL);

			hEditN =        CreateWindow (TEXT(&quot;edit&quot;), NULL, WS_CHILD | WS_BORDER | 
										  WS_VISIBLE | ES_CENTER, 250, 35, 40, 20, hwnd, NULL,
								          ((LPCREATESTRUCT) lParam)-&gt;hInstance, NULL);
			return 0;
		case WM_DESTROY:
			delete []hEditElements;
			PostQuitMessage (0);
			return 0;
		case WM_COMMAND:
			if(LOWORD(wParam)==GetWindowLong (hButtonCreate, GWL_ID) &amp;&amp; 
				HIWORD(wParam)==BN_CLICKED)
			{
				ctr++;

				GetWindowText(hEditM, buffer, 3);
				m=atoi(buffer);
				GetWindowText(hEditN, buffer, 3);
				n=atoi(buffer);

				hEditElements = new HWND[m*n];
				MessageBox(hwnd, buffer, szAppName, NULL); // buffer ist anscheinend leer
				for(i=0;i&lt;=m-1;i++){
					for(j=0;j&lt;=n-1;j++)
					{	hEditElements[i*n+j] = CreateWindow
											(&quot;edit&quot;,
											 NULL,
											 WS_CHILD | WS_BORDER | ES_CENTER | WS_VISIBLE,
											 20+80*i, 180+30*j, 70, 20,
											 hwnd, NULL,
											 ((LPCREATESTRUCT) lParam)-&gt;hInstance, NULL);
					};
				};

			};
			return 0;
	};
	return DefWindowProc(hwnd, message, wParam, lParam);
};
</code></pre>
<p>Wäre toll wenn jemand den Fehler findet.</p>
<p>Schonmal Danke.<br />
Gruß<br />
Max</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1278661</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1278661</guid><dc:creator><![CDATA[Max3000]]></dc:creator><pubDate>Fri, 04 May 2007 10:31:31 GMT</pubDate></item><item><title><![CDATA[Reply to Viele Fehler: Speicherreservierung und GetWindowText on Fri, 04 May 2007 10:42:00 GMT]]></title><description><![CDATA[<p>Der ganz Code macht doch keinen Sinn. Deine HWND Variablen sind lokale Variablen, die nur bis zur nächsten Nachricht überleben. Sprich nach WM_CREATE sind die wieder leer, und beim WM_COMMAND natürlich nciht zu gebrauchen.</p>
<p>Vergib beim CreateWindow doch einfach IDs, dann kannst Du mit GetDlgItemCtrl Dir das entsprechende Handle jederzeit besorgen und auch prüfen von welchem Control die WM_COMMAND Nachricht kam.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1278670</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1278670</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Fri, 04 May 2007 10:42:00 GMT</pubDate></item><item><title><![CDATA[Reply to Viele Fehler: Speicherreservierung und GetWindowText on Fri, 04 May 2007 11:03:03 GMT]]></title><description><![CDATA[<p>Erstmal vielen Dank.</p>
<p>Ich habe jetzt ersteinmal die EditFenster statisch gemacht und jetzt kann ich das auch ordentlich auslesen.<br />
Mit deinem Lösungsvorschlag mit GetDlgItemCtrl beschäftige ich mich später nochmal.</p>
<p>Allerdings stürzt das Programm jetzt immer noch ab, wenn ich das Programm schließe oder auf den Button klicke und die Editfelder entwickeln lasse. Ich habe die Speicherreservierung auch im C-Stil mit calloc und delete vorgenommen, das macht aber keinen unterschied. Mich wundert nur, dass das manchmal irgendwie doch klappt, wenn ich z.B. grad neu gebootet habe.<br />
Weiß jemand was da falsch ist?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1278679</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1278679</guid><dc:creator><![CDATA[Max3000]]></dc:creator><pubDate>Fri, 04 May 2007 11:03:03 GMT</pubDate></item><item><title><![CDATA[Reply to Viele Fehler: Speicherreservierung und GetWindowText on Fri, 04 May 2007 11:13:05 GMT]]></title><description><![CDATA[<p>Wo genau schmiert das Programm ab. Wie sieht Dein Code aus?</p>
<p>AN dem Code, den Du hier gepostet hast, sehe ich kein Problem.</p>
<p>Es gibt übrigens auch GetDlgItemInt!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1278693</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1278693</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Fri, 04 May 2007 11:13:05 GMT</pubDate></item><item><title><![CDATA[Reply to Viele Fehler: Speicherreservierung und GetWindowText on Fri, 04 May 2007 11:18:56 GMT]]></title><description><![CDATA[<p>Ich hab eine MessageBox eingeschoben, in die Zeile bevor der Fehler kommt.</p>
<pre><code class="language-cpp">LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{
	static HWND hEditM, hEditN;
	HWND hButtonCreate, hGroupAdd;
	HWND* hEditElements;
	HDC hdc;
	PAINTSTRUCT ps;
	TCHAR buffer[4];
	//matrix *mat;
	static int ctr=0, m, n;
	int i, j;

	switch(message){
		case WM_PAINT:
			hdc = BeginPaint(hwnd, &amp;ps);
			TextOut(hdc, 50, 35, TEXT(&quot;Dimension:&quot;),10); 
			TextOut(hdc, 215, 35, TEXT(&quot;x&quot;), 1);
			EndPaint(hwnd, &amp;ps);
			return 0;
		case WM_CREATE:
			hButtonCreate = CreateWindow (TEXT(&quot;button&quot;),
										  TEXT(&quot;Matrix erstellen&quot;),
										  WS_CHILD | WS_VISIBLE | BS_PUSHBUTTON,
										  330, 30, 130, 30,
										  hwnd, NULL, 
										  ((LPCREATESTRUCT) lParam)-&gt;hInstance, NULL);

			hGroupAdd =     CreateWindow (TEXT(&quot;button&quot;),
										  TEXT(&quot;Neue Matrix hinzufügen&quot;),
										  WS_CHILD | WS_VISIBLE | BS_GROUPBOX,
										  20, 10, 460, 60,
										  hwnd, NULL, 
										  ((LPCREATESTRUCT) lParam)-&gt;hInstance, NULL);

			hEditM =        CreateWindow (TEXT(&quot;edit&quot;), NULL, WS_CHILD | WS_BORDER | 
										  WS_VISIBLE | ES_CENTER, 150, 35, 40, 20, hwnd, NULL,
								          ((LPCREATESTRUCT) lParam)-&gt;hInstance, NULL);

			hEditN =        CreateWindow (TEXT(&quot;edit&quot;), NULL, WS_CHILD | WS_BORDER | 
										  WS_VISIBLE | ES_CENTER, 250, 35, 40, 20, hwnd, NULL,
								          ((LPCREATESTRUCT) lParam)-&gt;hInstance, NULL);
			return 0;
		case WM_DESTROY:
			delete []hEditElements;
			PostQuitMessage (0);
			return 0;
		case WM_COMMAND:
			if(LOWORD(wParam)==GetWindowLong (hButtonCreate, GWL_ID) &amp;&amp; 
				HIWORD(wParam)==BN_CLICKED)
			{
				ctr++;

				GetWindowText(hEditM, buffer, 3);
				m=atoi(buffer);
				GetWindowText(hEditN, buffer, 3);
				n=atoi(buffer);

				hEditElements = new HWND[m*n];

				for(i=0;i&lt;=m-1;i++){
					for(j=0;j&lt;=n-1;j++)
					{	
					MessageBox(hwnd, TEXT(&quot;Genau danach kommt dann die Fehlermeldung&quot;), szAppName, NULL);						
						hEditElements[i*n+j] = CreateWindow
											(&quot;edit&quot;,
											 NULL,
											 WS_CHILD | WS_BORDER | ES_CENTER | WS_VISIBLE,
											 20+80*i, 180+30*j, 70, 20,
											 hwnd, NULL,
											 ((LPCREATESTRUCT) lParam)-&gt;hInstance, NULL);

					};
				};

			};
			return 0;
	};
	return DefWindowProc(hwnd, message, wParam, lParam);
};
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1278698</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1278698</guid><dc:creator><![CDATA[Max3000]]></dc:creator><pubDate>Fri, 04 May 2007 11:18:56 GMT</pubDate></item><item><title><![CDATA[Reply to Viele Fehler: Speicherreservierung und GetWindowText on Fri, 04 May 2007 12:00:16 GMT]]></title><description><![CDATA[<p>Was erwartest Du?</p>
<pre><code class="language-cpp">((LPCREATESTRUCT) lParam)-&gt;hInstance
</code></pre>
<p>Wenn eine WM_COMMAND Nachricht behandelt wird, dann ist lPaam eben kein Zeiger auf eine CREATESTRUCT!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1278735</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1278735</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Fri, 04 May 2007 12:00:16 GMT</pubDate></item><item><title><![CDATA[Reply to Viele Fehler: Speicherreservierung und GetWindowText on Fri, 04 May 2007 12:22:20 GMT]]></title><description><![CDATA[<p>Wie kann man das dann machen? Ich habe diesen Parameter nie wirklich verstanden, sondern nur so hingenommen, wie er im Buch steht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1278759</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1278759</guid><dc:creator><![CDATA[Max3000]]></dc:creator><pubDate>Fri, 04 May 2007 12:22:20 GMT</pubDate></item><item><title><![CDATA[Reply to Viele Fehler: Speicherreservierung und GetWindowText on Fri, 04 May 2007 12:25:13 GMT]]></title><description><![CDATA[<p>Tja da sieht man wieder, einfach nur abschreiben brings wohl doch nicht :p<br />
Probier es mit</p>
<pre><code>GetModuleHandle(NULL)
</code></pre>
<p>schirrmie</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1278765</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1278765</guid><dc:creator><![CDATA[schirrmie]]></dc:creator><pubDate>Fri, 04 May 2007 12:25:13 GMT</pubDate></item><item><title><![CDATA[Reply to Viele Fehler: Speicherreservierung und GetWindowText on Fri, 04 May 2007 13:48:37 GMT]]></title><description><![CDATA[<p>Ich habe noch nie verstanden warum alle diese GetModuleHandle(NULL) empfehlen.<br />
Dieser Code rächt sich in dem Moment in dem man einen Codeschnippsel in eine DLL, Service oder TSP kopiert und meint dort geht es dann auch...</p>
<p>hInstance ist ein Parameter, der sowohl durch WinMain als auch durcch DllMain übergeben wird. Dieser sollte in einem Modul als globale Variable gespeichert werden und steht dann bei solchen Operationen, wie CreateWindow zur Verfügung.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1278810</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1278810</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Fri, 04 May 2007 13:48:37 GMT</pubDate></item><item><title><![CDATA[Reply to Viele Fehler: Speicherreservierung und GetWindowText on Fri, 04 May 2007 13:57:13 GMT]]></title><description><![CDATA[<p>Es gibt aber viele die sich extrem gegen globale Variablen oder unnötige streuben und da ist der code gut. Naja und falls dein Fall wirklich eintritt mit der dll oder so dann kann man immernoch ne globale Variable nehmen. Also ich seh da jetzt kein Problem drin aber jeder wie er mag.</p>
<p>schirrmie</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1278816</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1278816</guid><dc:creator><![CDATA[schirrmie]]></dc:creator><pubDate>Fri, 04 May 2007 13:57:13 GMT</pubDate></item></channel></rss>