title: How do I import a DLL I created in Qt into a C# application
body: <p>I created a DLL in Qt with one function called <code>test</code>.  I created another Qt project in which I am able to use the DLL with no problems.  I now want to use this DLL in a C# app, however, I am having problems calling the function.  I have placed the DLL in the same folder as my C# exe.  I import the function like so</p>
  
  <pre><code>[DllImport("TestDll.dll", CharSet = CharSet.Ansi, SetLastError = true)]
  private static extern bool test();
  </code></pre>
  
  <p>I receive the following exception:
  <code>EntryPointNotFoundException</code></p>
  
  <p>I tried adding <code>EntryPoint = test</code> to my DllImport but still receive the same exception</p>
  
  <p>What am I doing wrong?</p>