title: Loadlibrary always return NULL
body: <p><code>HINSTANCE hinstLib=LoadLibrary("C:\\mydll.dll");</code></p>
  
  <p>I have no idea why I always get <code>0</code> in return after running that line of code.</p>
  
  <p>Actually I have also another COM dll namely <code>mydllCOM.dll</code> that I already registered successfully with <code>regsvr32</code> command. I would like to use the above <code>(mydll.dll)</code> in my application but always fail at the line as mentioned. </p>
  
  <p>The error code I got from <code>GetLastError is 193</code> and I have no idea, why it is about the wrong type of dll</p>