<?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 mit ATL und WTL]]></title><description><![CDATA[<p>Hallo,</p>
<p>beim Versuch ein einfaches Projekt mit ATL und WTL zu kompilieren, bekomme ich diese Fehlermeldung und ich hab keine Ahnung, was der Compiler hier von mir will:</p>
<pre><code class="language-cpp">376//   BOOL Init(DWORD_PTR proc, void *pThis)
377//   {
378//              if (!pThunk) 
379//				{
380//              pThunk = static_cast&lt;_stdcallthunk *&gt;(AllocStdCallThunk())
..//						if (pThunk == NULL) 
						{
                        return FALSE;
						}
                }

                if ((proc == 0) &amp;&amp; (pThis == NULL)) 
				{
                    return TRUE;
                }

                return pThunk-&gt;Init(proc, pThis);
        }
</code></pre>
<p>Visual C++ Express schrieb:</p>
<blockquote>
<p>f:\microsoft platform sdk for windows server 2003 r2\include\atl\atlbase.h(379) : error C2143: Syntaxfehler: Es fehlt ')' vor ';'<br />
f:\microsoft platform sdk for windows server 2003 r2\include\atl\atlbase.h(379) : error C2059: Syntaxfehler: ')'</p>
</blockquote>
<p>Bin für jede Hilfestellung dankbar</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/144911/problem-mit-atl-und-wtl</link><generator>RSS for Node</generator><lastBuildDate>Wed, 15 Jul 2026 19:52:33 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/144911.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 22 Apr 2006 21:45:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Problem mit ATL und WTL on Sat, 22 Apr 2006 21:45:31 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>beim Versuch ein einfaches Projekt mit ATL und WTL zu kompilieren, bekomme ich diese Fehlermeldung und ich hab keine Ahnung, was der Compiler hier von mir will:</p>
<pre><code class="language-cpp">376//   BOOL Init(DWORD_PTR proc, void *pThis)
377//   {
378//              if (!pThunk) 
379//				{
380//              pThunk = static_cast&lt;_stdcallthunk *&gt;(AllocStdCallThunk())
..//						if (pThunk == NULL) 
						{
                        return FALSE;
						}
                }

                if ((proc == 0) &amp;&amp; (pThis == NULL)) 
				{
                    return TRUE;
                }

                return pThunk-&gt;Init(proc, pThis);
        }
</code></pre>
<p>Visual C++ Express schrieb:</p>
<blockquote>
<p>f:\microsoft platform sdk for windows server 2003 r2\include\atl\atlbase.h(379) : error C2143: Syntaxfehler: Es fehlt ')' vor ';'<br />
f:\microsoft platform sdk for windows server 2003 r2\include\atl\atlbase.h(379) : error C2059: Syntaxfehler: ')'</p>
</blockquote>
<p>Bin für jede Hilfestellung dankbar</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1043039</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1043039</guid><dc:creator><![CDATA[W0lf]]></dc:creator><pubDate>Sat, 22 Apr 2006 21:45:31 GMT</pubDate></item><item><title><![CDATA[Reply to Problem mit ATL und WTL on Sun, 23 Apr 2006 10:30:24 GMT]]></title><description><![CDATA[<p>Fehlt in Zeile 380 nicht das Semikolon am Ende?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1043195</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1043195</guid><dc:creator><![CDATA[flenders]]></dc:creator><pubDate>Sun, 23 Apr 2006 10:30:24 GMT</pubDate></item><item><title><![CDATA[Reply to Problem mit ATL und WTL on Sun, 23 Apr 2006 12:53:08 GMT]]></title><description><![CDATA[<p>flenders schrieb:</p>
<blockquote>
<p>Fehlt in Zeile 380 nicht das Semikolon am Ende?</p>
</blockquote>
<p>Leider nicht <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61e.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--disappointed_face"
      title=":("
      alt="😞"
    /></p>
<p>Das kommt mit deinem Vorschlag:</p>
<pre><code class="language-cpp">BOOL Init(DWORD_PTR proc, void *pThis)
        {
                if (!pThunk) 
				{
                    pThunk = static_cast&lt;_stdcallthunk *&gt;(AllocStdCallThunk());
						if (pThunk == NULL) 
						{
                        return FALSE;
						}
                }

                if ((proc == 0) &amp;&amp; (pThis == NULL)) 
				{
                    return TRUE;
                }

                return pThunk-&gt;Init(proc, pThis);
        }
</code></pre>
<p>Visual C++ Express schrieb:</p>
<blockquote>
<p>f:\microsoft platform sdk for windows server 2003 r2\include\atl\atlbase.h(380) : error C2143: Syntaxfehler: Es fehlt ')' vor ';'<br />
f:\microsoft platform sdk for windows server 2003 r2\include\atl\atlbase.h(380) : error C2059: Syntaxfehler: ')'</p>
</blockquote>
]]></description><link>https://www.c-plusplus.net/forum/post/1043280</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1043280</guid><dc:creator><![CDATA[W0lf]]></dc:creator><pubDate>Sun, 23 Apr 2006 12:53:08 GMT</pubDate></item></channel></rss>