<?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[Newbie-Problem beim Kompilieren]]></title><description><![CDATA[<p>Hallo.<br />
Ich habe mit dem Anwendungs-Assistenen (Mfc-AppWizard exe) ein Programm erstellt und dem eine Datei hinzugefügt wo ich Datentypen und so definiert hab (MyDef.h). Diese Datei wird von zwei Cpp-Dateien eingebunden, und der Compiler meckert &quot;one or more multiply defined symbols found&quot;.<br />
Dabei lautet der Anfang von MyDef.h:</p>
<pre><code>#if !defined(MYDEF_H)
#define MYDEF_H

#if _MSC_VER &gt; 1000
#pragma once
#endif // _MSC_VER &gt; 1000

...
#endif
</code></pre>
<p>Kann mir jemand sagen was ich tun muss um die Datei trotzdem in zwei andere Dateien einzubinden?<br />
Gruß,</p>
<p>Michel</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/46794/newbie-problem-beim-kompilieren</link><generator>RSS for Node</generator><lastBuildDate>Mon, 27 Apr 2026 10:20:03 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/46794.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 22 Aug 2003 19:19:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Newbie-Problem beim Kompilieren on Fri, 22 Aug 2003 19:19:28 GMT]]></title><description><![CDATA[<p>Hallo.<br />
Ich habe mit dem Anwendungs-Assistenen (Mfc-AppWizard exe) ein Programm erstellt und dem eine Datei hinzugefügt wo ich Datentypen und so definiert hab (MyDef.h). Diese Datei wird von zwei Cpp-Dateien eingebunden, und der Compiler meckert &quot;one or more multiply defined symbols found&quot;.<br />
Dabei lautet der Anfang von MyDef.h:</p>
<pre><code>#if !defined(MYDEF_H)
#define MYDEF_H

#if _MSC_VER &gt; 1000
#pragma once
#endif // _MSC_VER &gt; 1000

...
#endif
</code></pre>
<p>Kann mir jemand sagen was ich tun muss um die Datei trotzdem in zwei andere Dateien einzubinden?<br />
Gruß,</p>
<p>Michel</p>
]]></description><link>https://www.c-plusplus.net/forum/post/338836</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/338836</guid><dc:creator><![CDATA[Der Michel]]></dc:creator><pubDate>Fri, 22 Aug 2003 19:19:28 GMT</pubDate></item><item><title><![CDATA[Reply to Newbie-Problem beim Kompilieren on Fri, 22 Aug 2003 20:50:51 GMT]]></title><description><![CDATA[<p>kann es sein, das du eine Funktionen 2mal defeniert hast ???</p>
<p>gruß<br />
Thorsten</p>
]]></description><link>https://www.c-plusplus.net/forum/post/338870</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/338870</guid><dc:creator><![CDATA[StAnger]]></dc:creator><pubDate>Fri, 22 Aug 2003 20:50:51 GMT</pubDate></item><item><title><![CDATA[Reply to Newbie-Problem beim Kompilieren on Fri, 22 Aug 2003 22:17:47 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>das dachte ich eigentlich auch erst, aber hab ich nicht.<br />
Der Compiler meckert außerdem noch:<br />
&quot;class CArray&lt;struct BInfo,struct BInfo&gt; arB (...) already defined in Days_Dialog.obj&quot;</p>
<p>Dabei hab ich lediglich &quot;MyDef.h&quot; in Days_Dialog.cpp eingebunden, und nix dort neu definiert oder so.<br />
Gruß,<br />
Michel</p>
]]></description><link>https://www.c-plusplus.net/forum/post/338902</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/338902</guid><dc:creator><![CDATA[Der Michel]]></dc:creator><pubDate>Fri, 22 Aug 2003 22:17:47 GMT</pubDate></item><item><title><![CDATA[Reply to Newbie-Problem beim Kompilieren on Sat, 23 Aug 2003 08:39:36 GMT]]></title><description><![CDATA[<p>guck nochmal nach! der wird nicht ohne grund dir sagen, das du zweimal was defeniert hast. Wenn du willst kannste du mir auch den Code schicken und ich gucke mal nach.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/338971</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/338971</guid><dc:creator><![CDATA[StAnger]]></dc:creator><pubDate>Sat, 23 Aug 2003 08:39:36 GMT</pubDate></item><item><title><![CDATA[Reply to Newbie-Problem beim Kompilieren on Sat, 23 Aug 2003 12:17:25 GMT]]></title><description><![CDATA[<p>Hallo,</p>
<p>ja klar, mach ich gern sobald ich Deine E-Mail Adresse hab. Wenn Du die hier nicht posten willst, meine ist <a href="mailto:%22michel77@gmx.net" rel="nofollow">&quot;michel77@gmx.net</a>&quot;.</p>
<p>Vielen Dank schonmal im voraus. <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>
<p>Gruß,<br />
Michel</p>
]]></description><link>https://www.c-plusplus.net/forum/post/339048</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/339048</guid><dc:creator><![CDATA[Der Michel]]></dc:creator><pubDate>Sat, 23 Aug 2003 12:17:25 GMT</pubDate></item><item><title><![CDATA[Reply to Newbie-Problem beim Kompilieren on Sat, 23 Aug 2003 15:42:48 GMT]]></title><description><![CDATA[<p>Hi,</p>
<p>entweder es ist wirklich so, das irgendetwas zweimal deklariert hast, aber<br />
es gibt auch noch eine zweite Möglichkeit, weshalb der Fehler erscheinen<br />
könnte: Kann es sein, das der Anwendungs-Assistent eigene Komponenten wie<br />
cpp-, h-, und rc-Dateien erstellt hat(außer der stdafx)?<br />
Dann lösche diese. Dann müsste es eigentlich funzen.</p>
<p>Gruß Crabbe</p>
]]></description><link>https://www.c-plusplus.net/forum/post/339172</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/339172</guid><dc:creator><![CDATA[Crabbe]]></dc:creator><pubDate>Sat, 23 Aug 2003 15:42:48 GMT</pubDate></item></channel></rss>