LoadLibrary Problem on Win7 (64-bit)
<p>I developed MFC Regular DLL "Static Linked" using vs2005. when compiled it as 32-bit DLL</p>

<p>I can load it using "LoadLibrary" from my machine or from any other machine.</p>

<p>but when compile it as 64-bit DLL I can only load it from my machine.</p>

<p>I review my code and found global object declared.</p>

<pre><code>MyClass myObj;
</code></pre>

<p>when I comment this object..I can load DLL and use it from diffrent machine.but when any </p>

<p>global object found...I can't load my DLL from diffrenet machine.</p>

<p>anyone can help me?</p>
