<?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[Problem bei AfxBeginThread]]></title><description><![CDATA[<p>Hello Zusammen,</p>
<p>Habe ich wieder Problem bei AfxBeginThread getroffen.</p>
<p>Der Compeiler zeigt die Fehleranmeldung:</p>
<p>Error C2665: 'AfxBeginThread':Durch keine der 2 Überladungen kann Parameter 1 von Typ 'unsigned int (void*)' konvertiert werden!</p>
<p>Ich weiss nicht wie kann dass Problem klappen.</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/191923/problem-bei-afxbeginthread</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Apr 2026 01:07:53 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/191923.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 08 Sep 2007 11:41:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Problem bei AfxBeginThread on Sat, 08 Sep 2007 11:41:44 GMT]]></title><description><![CDATA[<p>Hello Zusammen,</p>
<p>Habe ich wieder Problem bei AfxBeginThread getroffen.</p>
<p>Der Compeiler zeigt die Fehleranmeldung:</p>
<p>Error C2665: 'AfxBeginThread':Durch keine der 2 Überladungen kann Parameter 1 von Typ 'unsigned int (void*)' konvertiert werden!</p>
<p>Ich weiss nicht wie kann dass Problem klappen.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1361215</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1361215</guid><dc:creator><![CDATA[liliangjie]]></dc:creator><pubDate>Sat, 08 Sep 2007 11:41:44 GMT</pubDate></item><item><title><![CDATA[Reply to Problem bei AfxBeginThread on Sat, 08 Sep 2007 14:54:23 GMT]]></title><description><![CDATA[<p>Indem Du einen korrekten Zeiger auf die entsprechende Funktion übergibst. Es kann keine &quot;nicht-statische&quot; member Funktion einer Klasse sein (was ich bei Deinem Versuch vermute).</p>
<p>Zeige mal Code.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1361385</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1361385</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Sat, 08 Sep 2007 14:54:23 GMT</pubDate></item><item><title><![CDATA[Reply to Problem bei AfxBeginThread on Sun, 09 Sep 2007 15:17:52 GMT]]></title><description><![CDATA[<p>ich habe schon fuer den Funktion als static definiert....</p>
<p>Und wie kann ich weiter machen...</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1361969</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1361969</guid><dc:creator><![CDATA[liliangjie]]></dc:creator><pubDate>Sun, 09 Sep 2007 15:17:52 GMT</pubDate></item><item><title><![CDATA[Reply to Problem bei AfxBeginThread on Sun, 09 Sep 2007 17:19:00 GMT]]></title><description><![CDATA[<p>Zeig doch mal bitte ein Stück Code!<br />
Deine Signatur der Funktion stimmt nicht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1362063</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1362063</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Sun, 09 Sep 2007 17:19:00 GMT</pubDate></item><item><title><![CDATA[Reply to Problem bei AfxBeginThread on Mon, 10 Sep 2007 20:25:06 GMT]]></title><description><![CDATA[<pre><code>void CM59::doInvert()
{
     AfxBeginThread(run,this);
}

UINT CM59::run(LPVOID p)
{
   CM59* me=(CM59*)p;
   me-&gt;run();
   return 0;
}

void CM59::run()
{
   int m=1;
   while (m==1)
   {
    int n=1;
   }
}
</code></pre>
<p>Und habe ich schon UINT CM59::run(LPVOID p)als Static schon vordefiniert...</p>
<p>Danke</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1362870</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1362870</guid><dc:creator><![CDATA[liliangjie]]></dc:creator><pubDate>Mon, 10 Sep 2007 20:25:06 GMT</pubDate></item><item><title><![CDATA[Reply to Problem bei AfxBeginThread on Tue, 11 Sep 2007 06:30:54 GMT]]></title><description><![CDATA[<p>Wenn run wirklich static ist funktioniert es. Ichhabe das Code Schnippsel mal so umgebaut in ein Testprojekt und es geht:</p>
<pre><code class="language-cpp">class CM59
{

	void doInvert() 
	{ 
		AfxBeginThread(run,this); 
	} 

	static UINT run(LPVOID p) 
	{ 
		CM59* me=(CM59*)p; 
		me-&gt;run(); 
		return 0; 
	} 

	void run() 
	{ 
		int m=1; 
		while (m==1) 
		{ 
			int n=1; 
		} 
	} 
};
</code></pre>
]]></description><link>https://www.c-plusplus.net/forum/post/1362977</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1362977</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Tue, 11 Sep 2007 06:30:54 GMT</pubDate></item><item><title><![CDATA[Reply to Problem bei AfxBeginThread on Tue, 11 Sep 2007 18:48:26 GMT]]></title><description><![CDATA[<p>ich habe auch bei Test programm wirklich funkioniert.<br />
ich mache zur zeit erweiterung für einen Messprogramm.<br />
wenn ich mit solche Code dazu gepackt,dann kommt die Fehlermeldung....</p>
<p>Ich weiss nicht,eigentlich muss es gehen..</p>
<p>Finde ich nur komisch..</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1363590</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1363590</guid><dc:creator><![CDATA[liliangjie]]></dc:creator><pubDate>Tue, 11 Sep 2007 18:48:26 GMT</pubDate></item><item><title><![CDATA[Reply to Problem bei AfxBeginThread on Wed, 12 Sep 2007 05:53:36 GMT]]></title><description><![CDATA[<p>Zeig mir mal Deine Klassen Deklaration!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1363761</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1363761</guid><dc:creator><![CDATA[Martin Richter]]></dc:creator><pubDate>Wed, 12 Sep 2007 05:53:36 GMT</pubDate></item></channel></rss>