c# - How to use FreeImage.NET in a x64 targeting project (AnyCpu)? -


i'm trying use freeimage .net wrapper in project, ptoject targets anycpu , dll wrapper not work under this, works if target x86 machine.

when try load file using wrapper targeting anycpu or x64 throws exception:

"se ha intentado cargar un programa con un formato incorrecto. (excepción de hresult: 0x8007000b)"   translated: "intent load program incorrect format (excepción de hresult: 0x8007000b)" 

i've tried follow steps work x64 freeimage in net project: http://www.sambeauvois.be/blog/2010/05/freeimage-and-x64-projects-yes-you-can/

...but vs2012 can't open of solutions, says "can't find localized resources".

the source of freeimage , wrapper here: http://downloads.sourceforge.net/freeimage/freeimage3154.zip

i need dll converted work anycpu targeting, or other solution make work, i'm working vbnet.

you need compile freeimage library , .net-wrapper 64 bit.

http://www.sambeauvois.be/blog/2010/05/freeimage-and-x64-projects-yes-you-can/


Comments