title: Unable to load DLL in the WPF-project
body: <p>I do have a UserControl (works) which I would like to use in a WPF project. When I run the application I get following error </p>
  
  <blockquote>
    <p><em>Unable to load DLL 'VCECLB.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)"</em></p>
  </blockquote>
  
  <p>This is a C++ dll and if I add it under references it goes to the project folder like this:</p>
  
  <p><img src="https://i.stack.imgur.com/RVi6r.png" alt="enter image description here"></p>
  
  <p>I also add it in the output folder <strong>\bin\x64\Release</strong> but without success. What I am doing wrong here? Any feedback would be highly appreciated!</p>
  
  <hr>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>The XAML for loading the UserControl looks like this:</p>
  
  <pre><code>&lt;Window x:Class="WpfApplication1LL_Neu.MainWindow"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:lowLightGrab="clr-namespace:LowLightGrab;assembly=LowLightGrab"
      Title="MainWindow" Height="350" Width="525"&gt;
  &lt;Grid&gt;
      &lt;WindowsFormsHost Height="290" HorizontalAlignment="Left" Margin="16,10,0,0" Name="windowsFormsHost1" VerticalAlignment="Top" Width="475"&gt;
          &lt;lowLightGrab:UserControl1/&gt;
      &lt;/WindowsFormsHost&gt;
  &lt;/Grid&gt;
  &lt;/Window&gt;
  </code></pre>
  
  <p>Thanks</p>