<?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[Verständnisproblem mit namespace]]></title><description><![CDATA[<p>Hallo liebe Community</p>
<p>hoffe ich bin hier im richtigen Forum. Weiss das leider nicht so genau! So nu zu meinem Problem. Ich würde gerne eine Header Datei erstellen nach der Anleitung von MSDN, hier mal der link -&gt; <a href="http://msdn.microsoft.com/de-de/library/ms235636%28v=VS.80%29.aspx" rel="nofollow">http://msdn.microsoft.com/de-de/library/ms235636(v=VS.80).aspx</a> . Der Zweck ist der das ich gerne bestimmte Funktionen aus Projekt 1 auch in PRojekt 2 nutzen möchte. Deshalb hab ich mir gedacht ich bastel mir eine DLL. Anbei mal mein Code:</p>
<p><a href="//modbus.h">//modbus.h</a></p>
<pre><code class="language-cpp">#ifndef __MODBUS_H
#define __MODBUS_H

#define DllExport __declspec(dllexport)

	namespace ModbusFuncs{

		class crc{

			public:

				DllExport void __cdecl usMBCRC16();
		};

	}

#endif
</code></pre>
<p>Nun bekomme ich einige Fehlermeldungen die ich nicht verstehe:</p>
<p>unter anderem:</p>
<p>-error C2061: Syntaxfehler: Bezeichner 'ModbusFuncs'<br />
-error C2449: '{' auf Dateiebene gefunden - fehlt der Funktionskopf?</p>
<p>Habe das nach der Beispiel von MSDN gemacht komme da aber irgendwie auf keinen grünen Zeig :(. Könnte sich das einmal jemand ansehen. Wäre für jeden Tipp echt dankbar!</p>
<p>mfg</p>
<p>/edit pumuckl: cpp-Tags ergänzt. Bitte künftig selber machen <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>
]]></description><link>https://www.c-plusplus.net/forum/topic/281867/verständnisproblem-mit-namespace</link><generator>RSS for Node</generator><lastBuildDate>Sun, 23 Aug 2026 10:34:07 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/281867.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 09 Feb 2011 12:47:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Verständnisproblem mit namespace on Wed, 09 Feb 2011 13:01:52 GMT]]></title><description><![CDATA[<p>Hallo liebe Community</p>
<p>hoffe ich bin hier im richtigen Forum. Weiss das leider nicht so genau! So nu zu meinem Problem. Ich würde gerne eine Header Datei erstellen nach der Anleitung von MSDN, hier mal der link -&gt; <a href="http://msdn.microsoft.com/de-de/library/ms235636%28v=VS.80%29.aspx" rel="nofollow">http://msdn.microsoft.com/de-de/library/ms235636(v=VS.80).aspx</a> . Der Zweck ist der das ich gerne bestimmte Funktionen aus Projekt 1 auch in PRojekt 2 nutzen möchte. Deshalb hab ich mir gedacht ich bastel mir eine DLL. Anbei mal mein Code:</p>
<p><a href="//modbus.h">//modbus.h</a></p>
<pre><code class="language-cpp">#ifndef __MODBUS_H
#define __MODBUS_H

#define DllExport __declspec(dllexport)

	namespace ModbusFuncs{

		class crc{

			public:

				DllExport void __cdecl usMBCRC16();
		};

	}

#endif
</code></pre>
<p>Nun bekomme ich einige Fehlermeldungen die ich nicht verstehe:</p>
<p>unter anderem:</p>
<p>-error C2061: Syntaxfehler: Bezeichner 'ModbusFuncs'<br />
-error C2449: '{' auf Dateiebene gefunden - fehlt der Funktionskopf?</p>
<p>Habe das nach der Beispiel von MSDN gemacht komme da aber irgendwie auf keinen grünen Zeig :(. Könnte sich das einmal jemand ansehen. Wäre für jeden Tipp echt dankbar!</p>
<p>mfg</p>
<p>/edit pumuckl: cpp-Tags ergänzt. Bitte künftig selber machen <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>
]]></description><link>https://www.c-plusplus.net/forum/post/2018693</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2018693</guid><dc:creator><![CDATA[Markus82]]></dc:creator><pubDate>Wed, 09 Feb 2011 13:01:52 GMT</pubDate></item><item><title><![CDATA[Reply to Verständnisproblem mit namespace on Wed, 09 Feb 2011 12:56:10 GMT]]></title><description><![CDATA[<p>Wie sieht denn die Quellcodedatei aus, die diesen Header einbindet?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2018703</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2018703</guid><dc:creator><![CDATA[MFK]]></dc:creator><pubDate>Wed, 09 Feb 2011 12:56:10 GMT</pubDate></item><item><title><![CDATA[Reply to Verständnisproblem mit namespace on Wed, 09 Feb 2011 13:10:03 GMT]]></title><description><![CDATA[<p>Hi</p>
<p>hier mal die Datei:</p>
<p>// TestFuncDll.cpp<br />
// compile with: /EHsc /link freemodbus.lib</p>
<p>#include&lt;windows.h&gt;<br />
#include&lt;iostream&gt;</p>
<p>#include &quot;modbus.h&quot;</p>
<p>using namespace std;</p>
<p>int main(){</p>
<p>printf(&quot;Test\n&quot;);</p>
<p>return 0;<br />
}</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2018708</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2018708</guid><dc:creator><![CDATA[Markus82]]></dc:creator><pubDate>Wed, 09 Feb 2011 13:10:03 GMT</pubDate></item><item><title><![CDATA[Reply to Verständnisproblem mit namespace on Thu, 10 Feb 2011 13:58:02 GMT]]></title><description><![CDATA[<p>Denke daran auch in der .cpp Datei den namespace anzugeben:</p>
<pre><code class="language-cpp">// Header:

#ifdef MYPROJECT_EXPORTS
#define MY_DLL_EXPORT __declspec(dllexport)
#else
#define MY_DLL_EXPORT __declspec(dllimport)
#endif

namespace foo
{
   class MY_DLL_EXPORT bar   {
   public:
          void hello();
   };
}

// Source Datei:
#include &quot;foo.h&quot;

//Entweder:
void foo::bar::hello()
{
}

// oder:
namespace foo
{
    void bar::hello()
    {}
}
</code></pre>
<p>HTH</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2018710</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2018710</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Thu, 10 Feb 2011 13:58:02 GMT</pubDate></item><item><title><![CDATA[Reply to Verständnisproblem mit namespace on Wed, 09 Feb 2011 14:32:28 GMT]]></title><description><![CDATA[<p>Markus82 schrieb:</p>
<blockquote>
<p>hier mal die Datei:</p>
</blockquote>
<p>Kann ich nicht reproduzieren.</p>
<p>Kannst du mal zum Test die Includedirektive durch den Inhalt von modbus.h ersetzen?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2018752</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2018752</guid><dc:creator><![CDATA[MFK]]></dc:creator><pubDate>Wed, 09 Feb 2011 14:32:28 GMT</pubDate></item><item><title><![CDATA[Reply to Verständnisproblem mit namespace on Wed, 09 Feb 2011 21:42:47 GMT]]></title><description><![CDATA[<p>So da bin ich wieder. Hatte leider einpaar Probleme mit meiner Internetverbindung <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><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/2803">@MFK</a><br />
Kannst du mir erklären was ich da genau machen muss um die Includedirektive durch den Inhalt von modbus.h zu ersetzen? Bin noch relativ am Anfang meiner Programmierlaufbahn :D.</p>
<p>@Scorcher24<br />
Danke dir für dein Code Beispiel. Werde das gleich mal ausprobieren :). Ich glaube das wird eine lange Nacht <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f644.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_rolling_eyes"
      title=":rolling_eyes:"
      alt="🙄"
    /><br />
Kann ich den einfach den Namen foo inkludieren? Ich dachte das gut nur wenn man bei der .h Datei am Anfang #ifndef __DATEI_H, #define __DATEI_H und am Ende #endif stehen hat? Bin ein bischen verwirrt <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>
]]></description><link>https://www.c-plusplus.net/forum/post/2018940</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2018940</guid><dc:creator><![CDATA[Markus82]]></dc:creator><pubDate>Wed, 09 Feb 2011 21:42:47 GMT</pubDate></item><item><title><![CDATA[Reply to Verständnisproblem mit namespace on Thu, 10 Feb 2011 05:13:32 GMT]]></title><description><![CDATA[<p>Markus82 schrieb:</p>
<blockquote>
<p>Kannst du mir erklären was ich da genau machen muss um die Includedirektive durch den Inhalt von modbus.h zu ersetzen?</p>
</blockquote>
<p>Du ersetzt die Zeile, in der #include &quot;modbus.h&quot; steht, durch das, was in modbus.h steht.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2019010</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2019010</guid><dc:creator><![CDATA[MFK]]></dc:creator><pubDate>Thu, 10 Feb 2011 05:13:32 GMT</pubDate></item><item><title><![CDATA[Reply to Verständnisproblem mit namespace on Thu, 10 Feb 2011 09:35:16 GMT]]></title><description><![CDATA[<p>So hier mal der Quellcode:</p>
<p>-&gt;modbus.h</p>
<pre><code class="language-cpp">//modbus.h

#ifndef __MODBUS_H_
#define __MODBUS_H_

#if defined(_MSC_VER)
#include&lt;windows.h&gt;
#define DLL extern &quot;C&quot; __declspec(dllexport)
#else
#define DLL
#endif

DLL void usMBCRC16();

#endif
</code></pre>
<p>-&gt;mbcrc.cpp<br />
(Dies ist die Datei deren Funktion ich später aus der DLL heraus nutzen möchte)</p>
<pre><code class="language-cpp">#include &quot;port.h&quot;

static const UCHAR aucCRCHi[] = {
    0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41,
    0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40,
    0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41,
    0x00, 0xC1, 0x81, 0x40, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41,
    0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41,
    0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40,
    0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40,
    0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40,
    0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41,
    0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40,
    0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41,
    0x00, 0xC1, 0x81, 0x40, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 
    0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41,
    0x00, 0xC1, 0x81, 0x40, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 
    0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41,
    0x00, 0xC1, 0x81, 0x40, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41,
    0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41, 
    0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x00, 0xC1, 0x81, 0x40,
    0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41,
    0x00, 0xC1, 0x81, 0x40, 0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41,
    0x00, 0xC1, 0x81, 0x40, 0x01, 0xC0, 0x80, 0x41, 0x01, 0xC0, 0x80, 0x41,
    0x00, 0xC1, 0x81, 0x40
};

static const UCHAR aucCRCLo[] = {
    0x00, 0xC0, 0xC1, 0x01, 0xC3, 0x03, 0x02, 0xC2, 0xC6, 0x06, 0x07, 0xC7,
    0x05, 0xC5, 0xC4, 0x04, 0xCC, 0x0C, 0x0D, 0xCD, 0x0F, 0xCF, 0xCE, 0x0E,
    0x0A, 0xCA, 0xCB, 0x0B, 0xC9, 0x09, 0x08, 0xC8, 0xD8, 0x18, 0x19, 0xD9,
    0x1B, 0xDB, 0xDA, 0x1A, 0x1E, 0xDE, 0xDF, 0x1F, 0xDD, 0x1D, 0x1C, 0xDC,
    0x14, 0xD4, 0xD5, 0x15, 0xD7, 0x17, 0x16, 0xD6, 0xD2, 0x12, 0x13, 0xD3,
    0x11, 0xD1, 0xD0, 0x10, 0xF0, 0x30, 0x31, 0xF1, 0x33, 0xF3, 0xF2, 0x32,
    0x36, 0xF6, 0xF7, 0x37, 0xF5, 0x35, 0x34, 0xF4, 0x3C, 0xFC, 0xFD, 0x3D,
    0xFF, 0x3F, 0x3E, 0xFE, 0xFA, 0x3A, 0x3B, 0xFB, 0x39, 0xF9, 0xF8, 0x38, 
    0x28, 0xE8, 0xE9, 0x29, 0xEB, 0x2B, 0x2A, 0xEA, 0xEE, 0x2E, 0x2F, 0xEF,
    0x2D, 0xED, 0xEC, 0x2C, 0xE4, 0x24, 0x25, 0xE5, 0x27, 0xE7, 0xE6, 0x26,
    0x22, 0xE2, 0xE3, 0x23, 0xE1, 0x21, 0x20, 0xE0, 0xA0, 0x60, 0x61, 0xA1,
    0x63, 0xA3, 0xA2, 0x62, 0x66, 0xA6, 0xA7, 0x67, 0xA5, 0x65, 0x64, 0xA4,
    0x6C, 0xAC, 0xAD, 0x6D, 0xAF, 0x6F, 0x6E, 0xAE, 0xAA, 0x6A, 0x6B, 0xAB, 
    0x69, 0xA9, 0xA8, 0x68, 0x78, 0xB8, 0xB9, 0x79, 0xBB, 0x7B, 0x7A, 0xBA,
    0xBE, 0x7E, 0x7F, 0xBF, 0x7D, 0xBD, 0xBC, 0x7C, 0xB4, 0x74, 0x75, 0xB5,
    0x77, 0xB7, 0xB6, 0x76, 0x72, 0xB2, 0xB3, 0x73, 0xB1, 0x71, 0x70, 0xB0,
    0x50, 0x90, 0x91, 0x51, 0x93, 0x53, 0x52, 0x92, 0x96, 0x56, 0x57, 0x97,
    0x55, 0x95, 0x94, 0x54, 0x9C, 0x5C, 0x5D, 0x9D, 0x5F, 0x9F, 0x9E, 0x5E,
    0x5A, 0x9A, 0x9B, 0x5B, 0x99, 0x59, 0x58, 0x98, 0x88, 0x48, 0x49, 0x89,
    0x4B, 0x8B, 0x8A, 0x4A, 0x4E, 0x8E, 0x8F, 0x4F, 0x8D, 0x4D, 0x4C, 0x8C,
    0x44, 0x84, 0x85, 0x45, 0x87, 0x47, 0x46, 0x86, 0x82, 0x42, 0x43, 0x83,
    0x41, 0x81, 0x80, 0x40
};

USHORT
usMBCRC16( UCHAR * pucFrame, USHORT usLen )
{
    UCHAR           ucCRCHi = 0xFF;
    UCHAR           ucCRCLo = 0xFF;
    int             iIndex;

    while( usLen-- )
    {
        iIndex = ucCRCLo ^ *( pucFrame++ );
        ucCRCLo = ( UCHAR )( ucCRCHi ^ aucCRCHi[iIndex] );
        ucCRCHi = aucCRCLo[iIndex];
    }
    return ( USHORT )( ucCRCHi &lt;&lt; 8 | ucCRCLo );
}
</code></pre>
<p>Bin ziemlich am verzweifeln :(. Habe mal versucht die h. Datei anders zu schreiben.</p>
<p>@Scorcher24<br />
Deine Version ist aber mit Hilfe von C++ ?</p>
<p>Trotz intensivem Lesen und Forenbeiträgen durchsuchen hab ich immer noch Schwierigkeiten :/. Danke euch aber für eure tolle Hilfe <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>
]]></description><link>https://www.c-plusplus.net/forum/post/2019044</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2019044</guid><dc:creator><![CDATA[Markus82]]></dc:creator><pubDate>Thu, 10 Feb 2011 09:35:16 GMT</pubDate></item><item><title><![CDATA[Reply to Verständnisproblem mit namespace on Thu, 10 Feb 2011 10:37:46 GMT]]></title><description><![CDATA[<p>Markus82 schrieb:</p>
<blockquote>
<p>@Scorcher24<br />
Deine Version ist aber mit Hilfe von C++ ?</p>
</blockquote>
<p>Sie ist genauso viel beziehungsweise wenig C++ wie deine. DLL,Lib,so... sind allesamt nicht im Ansi C++ Standard definiert. Was möglich ist und was nicht ist daher abhängig vom Betriebssystem und Compiler.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2019062</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2019062</guid><dc:creator><![CDATA[asc]]></dc:creator><pubDate>Thu, 10 Feb 2011 10:37:46 GMT</pubDate></item><item><title><![CDATA[Reply to Verständnisproblem mit namespace on Thu, 10 Feb 2011 10:42:12 GMT]]></title><description><![CDATA[<p>Markus82 schrieb:</p>
<blockquote>
<p>So hier mal der Quellcode:</p>
</blockquote>
<p>Der ist ja nun komplett anders. Ein Problem mit namespace kann's nicht mehr geben, weil namespace nicht mehr auftaucht. Der Header wird auch gar nicht mehr eingebunden.</p>
<p>Was ist also das Problem mit diesem Code?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2019065</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2019065</guid><dc:creator><![CDATA[MFK]]></dc:creator><pubDate>Thu, 10 Feb 2011 10:42:12 GMT</pubDate></item><item><title><![CDATA[Reply to Verständnisproblem mit namespace on Thu, 10 Feb 2011 11:23:57 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/2803">@MFK</a>:</p>
<p>So hab im letzten Post versucht das so zu machen wies bei Wiki steht :/. Aber dem Code kriege ich jetzt die Fehlermeldung Syntaxfehler 'Zeichenfolge' . Woraufhin ich gegoogelt habe und herausfand das die Dateien cpp sein müssen. Nun verschwindet der Fehler aber ich bekomme dann mehrere LInker fehler über nicht aufgelöste externe Symbole ??...</p>
<p>Also mein Problem ist das ich nicht weis was alles C ist und was schon C++ und was man bei den entsprechenden Implementationen beachten muss <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f615.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--confused_face"
      title=":/"
      alt="😕"
    /> bzw. das anscheinen durcheinander Werfe bzw. Schwierigkeiten hab das auseinander zu halten.<br />
Weshalb der letzte Code den ich gepostet habe anders ist. Vielleicht könntest du mir einpaar grundsätzliche Tipps geben auf was ich beim implementieren achten muss ?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2019087</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2019087</guid><dc:creator><![CDATA[Markus82]]></dc:creator><pubDate>Thu, 10 Feb 2011 11:23:57 GMT</pubDate></item><item><title><![CDATA[Reply to Verständnisproblem mit namespace on Thu, 10 Feb 2011 13:52:41 GMT]]></title><description><![CDATA[<p><a href="http://msdn.microsoft.com/en-us/library/ms235636.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/ms235636.aspx</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/2019170</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2019170</guid><dc:creator><![CDATA[MFK]]></dc:creator><pubDate>Thu, 10 Feb 2011 13:52:41 GMT</pubDate></item><item><title><![CDATA[Reply to Verständnisproblem mit namespace on Fri, 11 Feb 2011 10:54:27 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://www.c-plusplus.net/forum/uid/2803">@MFK</a><br />
Danke dir für den Link und für deine / eure Hilfe. Den Link hab ich durchgearbeitet und auch soweit gut verstanden. Wie ist das den wenn ich nun sagen wir mal 10 verschiedene cpp und h Dateien hab. Wie muss ich da vorgehen um die zu einer DLL zumachen?<br />
Was genau haben den die Kommentarzeilen über dem Code zu bedeuten, also z.B.</p>
<pre><code class="language-cpp">// MathFuncsDll.cpp
// compile with: /EHsc /LD
</code></pre>
<p>Hab das versucht auf der MS Seite nachzuvollziehe werde aber nicht so wirklich schlau draus :/.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2019533</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2019533</guid><dc:creator><![CDATA[Markus82]]></dc:creator><pubDate>Fri, 11 Feb 2011 10:54:27 GMT</pubDate></item></channel></rss>