<?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[Falscher dsp Eintrag]]></title><description><![CDATA[<p>Hallo NG,</p>
<p>Ich habe eine MFC-Anwendung, welche ein COM-Interface zur Verfügung stellt. Dieses Interface wird in der Datei COM.idl beschrieben. Somit wird vom MIDL-Compiler die Datei COM_i.h/.c erzeugt und entsprechend mitkompiliert.</p>
<p>Der dazugehörige DSP-Eintrag lautet:<br />
# ADD MTL /tlb &quot;.\COM.tlb&quot; /h &quot;COM_i.h&quot; /iid &quot;COM_i.c&quot; /Oicf</p>
<p>Da das MFC-Projekt nun vorkompilierte Header-Dateien verwendet, wird nun in der COM_i.c die Include-Anweisung #include &quot;stdafx.h&quot; erwartet. Diese existiert jedoch nicht, da die c-Datei automatisch erzeugt wird. Wie kann ich das Problem umgehen, damit der Compiler dieses include nicht erwartet?</p>
<p>Danke.</p>
<p>Gruß Rinle612</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/181013/falscher-dsp-eintrag</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Apr 2026 01:17:26 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/181013.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 09 May 2007 08:21:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Falscher dsp Eintrag on Wed, 09 May 2007 08:21:35 GMT]]></title><description><![CDATA[<p>Hallo NG,</p>
<p>Ich habe eine MFC-Anwendung, welche ein COM-Interface zur Verfügung stellt. Dieses Interface wird in der Datei COM.idl beschrieben. Somit wird vom MIDL-Compiler die Datei COM_i.h/.c erzeugt und entsprechend mitkompiliert.</p>
<p>Der dazugehörige DSP-Eintrag lautet:<br />
# ADD MTL /tlb &quot;.\COM.tlb&quot; /h &quot;COM_i.h&quot; /iid &quot;COM_i.c&quot; /Oicf</p>
<p>Da das MFC-Projekt nun vorkompilierte Header-Dateien verwendet, wird nun in der COM_i.c die Include-Anweisung #include &quot;stdafx.h&quot; erwartet. Diese existiert jedoch nicht, da die c-Datei automatisch erzeugt wird. Wie kann ich das Problem umgehen, damit der Compiler dieses include nicht erwartet?</p>
<p>Danke.</p>
<p>Gruß Rinle612</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1281373</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1281373</guid><dc:creator><![CDATA[Rinle612]]></dc:creator><pubDate>Wed, 09 May 2007 08:21:35 GMT</pubDate></item></channel></rss>