<?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ängerfrage zu Singlethreading]]></title><description><![CDATA[<p>Hallo Leuz,</p>
<p>komme von Borland C++ und wollte mal fragen...<br />
Wie erstelle ich einen Thread in <a href="http://VS.NET" rel="nofollow">VS.NET</a>?</p>
<p>In Borland ging das über NEU Thread-Objekt, gibts sowas auch in der VS Umgebung?</p>
<p>Danke Euch schonmal <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=":confused:"
      alt="😕"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/topic/55502/anfängerfrage-zu-singlethreading</link><generator>RSS for Node</generator><lastBuildDate>Tue, 02 Jun 2026 01:10:34 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/55502.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 17 Nov 2003 13:37:16 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Anfängerfrage zu Singlethreading on Mon, 17 Nov 2003 13:37:16 GMT]]></title><description><![CDATA[<p>Hallo Leuz,</p>
<p>komme von Borland C++ und wollte mal fragen...<br />
Wie erstelle ich einen Thread in <a href="http://VS.NET" rel="nofollow">VS.NET</a>?</p>
<p>In Borland ging das über NEU Thread-Objekt, gibts sowas auch in der VS Umgebung?</p>
<p>Danke Euch schonmal <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=":confused:"
      alt="😕"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/395944</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/395944</guid><dc:creator><![CDATA[0Bytes]]></dc:creator><pubDate>Mon, 17 Nov 2003 13:37:16 GMT</pubDate></item><item><title><![CDATA[Reply to Anfängerfrage zu Singlethreading on Mon, 17 Nov 2003 14:20:36 GMT]]></title><description><![CDATA[<p>..Also in C++ 6.0 geht das so.</p>
<pre><code class="language-cpp">CWinThread * Callback_Thread;
    Callback_Thread = AfxBeginThread(
               ThreadSend,               // function to run on thread
               (LPVOID)this,                // value to pass to function
               THREAD_PRIORITY_NORMAL,   // thread's priority
               0,                        // stack size
               CREATE_SUSPENDED,         // create susupended thread
               NULL);               

	//start thread
	Callback_Thread-&gt;ResumeThread();
</code></pre>
<p>ThreadSend ist eine function die aussieht wie unten aufgemalt und die den thread steuern soll.</p>
<pre><code class="language-cpp">UINT ThreadSend(LPVOID  xthis)
{
	int tsg_return = 0;

	Transaction* _this = (Transaction*)xthis;
	tsg_return = _this-&gt;sendFile();
	return 0;
}
</code></pre>
<p>Diese function schaut fast immer gleich aus.</p>
<p>hilft Dir das?</p>
<p>lg<br />
l00P</p>
]]></description><link>https://www.c-plusplus.net/forum/post/395993</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/395993</guid><dc:creator><![CDATA[l00P]]></dc:creator><pubDate>Mon, 17 Nov 2003 14:20:36 GMT</pubDate></item><item><title><![CDATA[Reply to Anfängerfrage zu Singlethreading on Tue, 18 Nov 2003 02:44:15 GMT]]></title><description><![CDATA[<p>Danke das wars genau <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>
]]></description><link>https://www.c-plusplus.net/forum/post/396408</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/396408</guid><dc:creator><![CDATA[0Bytes]]></dc:creator><pubDate>Tue, 18 Nov 2003 02:44:15 GMT</pubDate></item><item><title><![CDATA[Reply to Anfängerfrage zu Singlethreading on Tue, 18 Nov 2003 06:07:43 GMT]]></title><description><![CDATA[<p><a href="http://download.pearsoned.de/leseecke/VCPLUS6_21Tg/data/start.htm" rel="nofollow">http://download.pearsoned.de/leseecke/VCPLUS6_21Tg/data/start.htm</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/396425</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/396425</guid><dc:creator><![CDATA[Unix-Tom]]></dc:creator><pubDate>Tue, 18 Nov 2003 06:07:43 GMT</pubDate></item></channel></rss>