<?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[AfxGetThread() == NULL ???]]></title><description><![CDATA[<p>Kann mir jemand sagen, warum AfxGetThread() in einer exportierten Funktion einer DLL NULL zurückliefert?</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/84058/afxgetthread-null</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Apr 2026 00:44:00 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/84058.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 26 Aug 2004 14:29:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to AfxGetThread() == NULL ??? on Thu, 26 Aug 2004 14:29:31 GMT]]></title><description><![CDATA[<p>Kann mir jemand sagen, warum AfxGetThread() in einer exportierten Funktion einer DLL NULL zurückliefert?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/591998</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/591998</guid><dc:creator><![CDATA[StefanW]]></dc:creator><pubDate>Thu, 26 Aug 2004 14:29:31 GMT</pubDate></item><item><title><![CDATA[Reply to AfxGetThread() == NULL ??? on Thu, 26 Aug 2004 14:47:30 GMT]]></title><description><![CDATA[<blockquote>
<p><strong>Remarks</strong></p>
<p>Must be called from within the desired thread.</p>
<p>Note If you are porting an MFC project calling AfxGetThread from Visual C++ versions 4.2, 5.0, or 6.0, AfxGetThread calls AfxGetApp if no thread is found. In Visual C+ .NET and later, AfxGetThread returns NULL if no thread was found. If you want the application thread, you must call AfxGetApp.</p>
</blockquote>
<p><img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f609.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--winking_face"
      title=";)"
      alt="😉"
    /></p>
]]></description><link>https://www.c-plusplus.net/forum/post/592032</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/592032</guid><dc:creator><![CDATA[Shlo]]></dc:creator><pubDate>Thu, 26 Aug 2004 14:47:30 GMT</pubDate></item></channel></rss>