title: Dllimport functions work on other machine
body: <p>i create C# application which have simple function to open and close tray. So i start to call DllImport inside my win7 computer which have settings of framework 4.5 and that work well, but problem appears when those folder try to run on other computer, it want run, why?</p>
  
  <p>Am I missing something?</p>
  
  <p>Well functions like MessageBox run on any of other machine but want run functions which i call from DllImport.</p>
  
  <p>Here is code from Form which want run on another machine:</p>
  
  <pre><code>[DllImport("winmm.dll", EntryPoint = "mciSendStringA")]
  public static extern int msciSendString(string lpstrCommand, string lpstrReturnString, int uReturnLength, IntPtr hwndCallback);
  
  private void btnOpen_Click(object sender, EventArgs e)
  {
      msciSendString("set CDAudio door open", "", 127, IntPtr.Zero);
  }
  </code></pre>