Declaring a global in a global header file?
<p>I have a header file, lets say Common.h, that is included in all of the files over several projects. Basically i want to declare a global variable, e.g.:</p>

<pre><code>class MemoryManager;
DLL_EXPORT MemoryManager* gMemoryManager;
</code></pre>

<p>When i do this i get tons of linker errors saying</p>

<p>class MemoryManager* gMemoryManager is already defined.</p>

<p>:(?</p>
