Page 1 of 1

update the version

Posted: Fri Oct 13, 2017 4:22 am
by Mahamat
Hi

after i update to the latest ver 10.2,x by referencing the new dll i start getting this message

An unhandled exception of type 'System.BadImageFormatException' occurred in ECM_Archiveo.exe

Additional information: Could not load file or assembly 'Vintasoft.Twain, Version=10.2.3.1, Culture=neutral, PublicKeyToken=153caf29a10d2e31' or one of its dependencies. An attempt was made to load a program with an incorrect format.

any idea what might be the solution

thank you

Re: update the version

Posted: Fri Oct 13, 2017 9:26 am
by Alex
Hi Mahamat,

The System.BadImageFormatException means that you are compiling your application in one format but the referenced DLLs have another format. Please make sure that you are using Vintasoft.Twain.dll compiled in AnyCPU (x86, x64) mode if you are compiling your application in AnyCPU (x86, x64) mode.

Best regards, Alexander

Re: update the version

Posted: Sat Oct 14, 2017 1:06 am
by Mahamat
Thank you very much ,, you are 100% right.. my problem got solved

i was referencing the any cpu and adding the 64bit dll