Support Center

Twain under x64?

Mikael Fredriksson May 15, 2012 08:29AM EDT


I've built a DLL (C#/.NET4) which is using your DTI.ImageMan.Train.DLL (version 3.10). However, when I compile my DLL as X64, I get an error when trying e.g. to enumerate installed scanners.

On the other hand, if I compile my DLL as X86 it can't be loaded from my application (which is X64).

Is this a known problem? Can you suggest a workaround? Error logs are availble, if you need them.

Best Regards,


1 Data Techniques Response

Up -2 Rated Down
DTI Support  Data Techniques Employee May 15, 2012 08:57AM EDT

Hello Mikael,

ImageMan.Net Twain offers full 64-bit support. However, when building your apps as 64-bit assemblies, you will not be able to access 32-bit Twain drivers. Since scanner manufacturers have not currently developed true 64-bit drivers at this time, you will most likely need to continue to set the target platform to x86 to access the 32-bit Twain drivers.

Thanks for your interest in our products and please let us know if you have any questions.

Data Techniques Support

This question is closed to new answers.

Contact Us