title: DLLImport not working even if the file is in Bin folder
body: <p>I am using a third party application which is using DLLImport in their code. The COM DLl that they are using, they gave it to me separately.</p>
  
  <p>I did put the file in the Bin/Debug folder of the third party source code and recompiled the code.</p>
  
  <p>After doing that I am seeing Unable to load Module error on my application. Any ideas why it could be the case?</p>
  
  <p>It is throwing following error:</p>
  
  <pre><code>Unable to load DLL 'QMSL_MSVC10D.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)"}
  </code></pre>
  
  <p>i did run dependency walker in it and I see following errors:</p>
  
  <pre><code>Error: At least one required implicit or forwarded dependency was not found.
  Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module.
  Error: Modules with different CPU types were found.
  Warning: At least one delay-load dependency module was not found.
  Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.
  </code></pre>
  
  <p>My question is that how could they compile the DLL with these many errors? And what are the chances that there is ANY co-relation between the errors I am seeing and what we are seeing in Dependency walker?</p>