Visual error studio 2013

0

I just migrated a visual project from 2010 to 2013, and checking if everything was fine, I miss this error:

  

Unhandled exception of type 'System.BadImageFormatException' in   System.Windows.Forms.dll

     

Additional information: Unable to load the file or assembly   'AForge.Video.FFMPEG, Version = 2.2.5.0, Culture = neutral,   PublicKeyToken = 03563089b1be05dd 'neither one of its dependencies. It has been   tried to load a program with an incorrect format.

Does anyone know how I can solve it? I tried to import the libraries again, but I do not know how to solve it.

Greetings

    
asked by urrutias 05.06.2017 в 09:36
source

1 answer

2

That error is an incompatibility between a 32bit application trying to load a 64bit library or the other way round. Check what type of platform you have in your application, if the version of the library AForge.Video.FFMPEG is 32 or 64 bits and what operating system you have.

Edit

After consulting it, it seems that there is no 64bit version of the library AForge.Video.FFMPEG , so you'll have to compile your project in 32 bits.

Edit2

Well, yes, there is a 64 bit version. You can download it from here

    
answered by 05.06.2017 в 10:43