<?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[Projekt läuft mit c++.net nich mehr]]></title><description><![CDATA[<p>Guten Morgen,<br />
ich habe ein riesen Problem. Ich habe ein Projekt bekommen, das mit Visual c++ 6.0 erstellt wurde und da auch läuft. Wenn ich das Projekt mit Visual c++ .net öffne, werde ich gefragt ob ich es in das vc 7.0 Projektformat konvertieren will. Das habe ich gemacht, aber beim Ausführen kommt folgender Fehler:<br />
&quot;fatal error MFC requires c++ compilation (use a .cpp suffix)&quot;</p>
<p>In dem Projekt sind .c Dateien enthalten und einige ifdef WIN32 abfragen.<br />
Kann mir jemand weiterhelfen?</p>
<p>Vielen Dank im voraus.<br />
Gruß Dscho</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/51467/projekt-läuft-mit-c-net-nich-mehr</link><generator>RSS for Node</generator><lastBuildDate>Sun, 31 May 2026 14:20:04 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/51467.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 10 Oct 2003 07:40:10 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Projekt läuft mit c++.net nich mehr on Fri, 10 Oct 2003 07:40:10 GMT]]></title><description><![CDATA[<p>Guten Morgen,<br />
ich habe ein riesen Problem. Ich habe ein Projekt bekommen, das mit Visual c++ 6.0 erstellt wurde und da auch läuft. Wenn ich das Projekt mit Visual c++ .net öffne, werde ich gefragt ob ich es in das vc 7.0 Projektformat konvertieren will. Das habe ich gemacht, aber beim Ausführen kommt folgender Fehler:<br />
&quot;fatal error MFC requires c++ compilation (use a .cpp suffix)&quot;</p>
<p>In dem Projekt sind .c Dateien enthalten und einige ifdef WIN32 abfragen.<br />
Kann mir jemand weiterhelfen?</p>
<p>Vielen Dank im voraus.<br />
Gruß Dscho</p>
]]></description><link>https://www.c-plusplus.net/forum/post/369594</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/369594</guid><dc:creator><![CDATA[dscho]]></dc:creator><pubDate>Fri, 10 Oct 2003 07:40:10 GMT</pubDate></item><item><title><![CDATA[Reply to Projekt läuft mit c++.net nich mehr on Fri, 10 Oct 2003 07:59:02 GMT]]></title><description><![CDATA[<p>Das kommt aus afx.h:</p>
<pre><code class="language-cpp">#ifndef __cplusplus
	#error MFC requires C++ compilation (use a .cpp suffix)
#endif
</code></pre>
<p>Du hast also vermutlich afx.h aus einer .c-Datei eingebunden.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/369608</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/369608</guid><dc:creator><![CDATA[MFK]]></dc:creator><pubDate>Fri, 10 Oct 2003 07:59:02 GMT</pubDate></item><item><title><![CDATA[Reply to Projekt läuft mit c++.net nich mehr on Fri, 10 Oct 2003 08:03:10 GMT]]></title><description><![CDATA[<p>Danke für Deine schnelle Antwort, aber &quot;afx.h&quot; kommt in dem gesamten Projekt nicht vor.<br />
Hast Du noch einen Tip?</p>
<p>Gruß Dscho</p>
]]></description><link>https://www.c-plusplus.net/forum/post/369612</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/369612</guid><dc:creator><![CDATA[dscho]]></dc:creator><pubDate>Fri, 10 Oct 2003 08:03:10 GMT</pubDate></item><item><title><![CDATA[Reply to Projekt läuft mit c++.net nich mehr on Fri, 10 Oct 2003 08:07:29 GMT]]></title><description><![CDATA[<p>dscho schrieb:</p>
<blockquote>
<p>Danke für Deine schnelle Antwort, aber &quot;afx.h&quot; kommt in dem gesamten Projekt nicht vor.</p>
</blockquote>
<p>Die Datei und Zeilennummer, aus der der Fehler kommt, sollte doch dabei stehen, oder? Dann kannst du aus den vorausgegangenen Compilermeldungen ablesen, welche Datei die #include-Direktive hat.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/369614</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/369614</guid><dc:creator><![CDATA[MFK]]></dc:creator><pubDate>Fri, 10 Oct 2003 08:07:29 GMT</pubDate></item><item><title><![CDATA[Reply to Projekt läuft mit c++.net nich mehr on Fri, 10 Oct 2003 08:59:17 GMT]]></title><description><![CDATA[<p>Das war ein guter Tip ich habs hinbekommen.<br />
Vielen Dank.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/369653</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/369653</guid><dc:creator><![CDATA[dscho]]></dc:creator><pubDate>Fri, 10 Oct 2003 08:59:17 GMT</pubDate></item></channel></rss>