title: Unable to load DLL in C#
body: <p><strong>how to load a dll in a c# project</strong></p>
  
  <p><strong>error</strong>:</p>
  
  <blockquote>
    <p>Unable to load DLL 'Reader.dll': The specified module could not be
    found. (Exception from HRESULT: 0x8007007E)</p>
  </blockquote>
  
  <p><strong>code sample</strong>:</p>
  
  <pre><code>[DllImport("Reader.dll")]
   public static extern byte OpenReader(ref IntPtr hCom, byte LinkType, string com_port);
  </code></pre>
  
  <p>image:
  <img src="https://i.stack.imgur.com/fQGIC.png" alt="exception screenshot"></p>