The problem that you are refering, seems to be related with a bad setting in your visual studio project.
The pair of DevScope.Ocr.Tesseract.xZZ dlls are compiled with diferent settings for each platform x86 or x64.
This is a .NET limitation because those assemblies are compiled in native code and like so, each assembly must be target a specific platform. The only way you can use the same assembly for x86 or x64 is when that assembly is from c# or VB or any other .NET language.
So, most probably your VStudio project targets "ANY CPU" on the build settings of the project properties and the compiler is deciding for x86 (because probably your Operating system is x86) and you are referencing the x64 dll, and thats why the error is BadFormatException.
You need to make sure that you are targeting the correct platform.
- If your project build settings is set to x86 you must reference the DevScope.Ocr.Tesseract.x86.DLL
- If your project build settings is set to x64 you must reference the DevScope.Ocr.Tesseract.x64.DLL
- Try not to use the ANY CPU as vs will link references depending on the operation system platform.
Hope this helps.
Please feel free to contact support@devscope.net if you need any more help.