title: C++ DLL "Cannot Find Entry Point"
body: <p>So I looked at the other questions on SO in regards to this. For some reason I am still getting this issue.</p>
  
  <blockquote>
    <p>"Cannot Find Entry Point"</p>
  </blockquote>
  
  <p>My CPP</p>
  
  <pre><code>extern "C"{
      __declspec(dllexport) int GetPose()
      {
          if (currentPose == myo::Pose::none)
              return 0;
          else if (currentPose == myo::Pose::fist)
              return 1;
          else
              return -1;
      }
  }
  </code></pre>
  
  <p>My C#</p>
  
  <pre><code>public partial class MainWindow : Window
  {
      [DllImport("MyoWrapper.dll", CallingConvention = CallingConvention.StdCall)]
      public static extern int GetPose();
  public MainWindow()
  {
      InitializeComponent();
      DispatcherTimer timer = new DispatcherTimer();
      timer.Interval = new TimeSpan(100);
      timer.Tick += (sender, args) =&gt; 
      {
        int x = GetPose(); 
      };
      timer.Start();
  }
  
  }
  </code></pre>