Page 1 of 1

F-in-box is not a valid Win32 application!

Posted: Mon Mar 07, 2011 8:50 pm
by ghadydiab
Hello,

When I try to load f_in_box, I'm getting the exception below:

System.BadImageFormatException: Could not load file or assembly 'f_in_box__lib.dll' or one of its dependencies. is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)
File name: 'f_in_box__lib.dll'


I'm using Vista 64 bit OS, and the project (C# library) where I'm using the library has 'Any CPU' as Platform Target.

I can't change the 'Platform Target' because our DLL is used inside another project that we cannot control.

How can we fix this problem?

Thanks

Posted: Wed Mar 16, 2011 8:43 am
by Softanics
Hello,

The only way is to specify target platform as x86. f-in-box uses flash plugin from Adobe, which is 32 bit.

Thank you.