title: "An attempt was made to load a program with an incorrect format"
body: <p>I work in visual studio 2008, when run the program this error is shown:</p>
  
  <blockquote>
    <p>$exception   {"Could not load file or assembly 'AForge.Video.FFMPEG,
     Version=2.2.5.0, Culture=neutral, PublicKeyToken=03563089b1be05dd' or one of its dependencies. An attempt was made to load a program with an incorrect format."}</p>
  </blockquote>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.ComponentModel;
  using System.Data;
  using System.Drawing;
  using System.Linq;
  using System.Text;
  using System.Windows.Forms;
  using AForge.Video.FFMPEG;
  
  namespace WindowsFormsApplication9
  {
      public partial class Form1 : Form
      {        
          public Form1()
          {
              InitializeComponent();
          }
  
          private void button1_Click(object sender, EventArgs e)
          {
              VideoFileReader video = new VideoFileReader();
          }
      }
  }
  </code></pre>
  
  <p>What is wrong with my program?</p>