Accusoft.TwainPro9.Net
Distributing TwainPRO

DLL Files to Distribute

The following files are required to be distributed with the TwainPro .NET Windows Forms control:

There is a 32-bit and 64-bit version of the following file:

The 32-bit version of this file is required if using the TwainPRO .NET control in a 32-bit process, and the 64-bit version of this file is required if using the TwainPRO .NET control in a 64-bit process. An AnyCPU application will require the 32-bit version of this file (if it is run on a 32-bit machine) and will require the 64-bit version of this file (if it is run on a 64-bit machine). The latest version of this DLL can be found at www.twain.org.

Note that TWAIN can only load: 32-bit scanner drivers in a 32-bit process and 64-bit scanner drivers in a 64-bit process. The TwainPRO .NET samples are set to 32-bit by default, but if they are run on a 64-bit machine, the platform configuration of the project can be changed to AnyCPU to access a 64-bit scanner driver (if a 64-bit driver is available for your scanner).

TwainPRO will give an error with the older TWAIN DLL files. Ensure you have the new TWAINDSM.DLL file.

Windows 32-bit & 64-bit Support

The following section is directly from the TWAIN_2_Errata.pdf from www.twain.org:

Windows 32-bit Support

Full TWAIN 2.0 support is not available through 16-bit TWAIN.DLL or through the 32-bit TWAIN_32.DLL file that Microsoft delivers with its supported versions of Windows. Full TWAIN 2.0 support is available using the new TWAINDSM.DLL provided by the TWAIN Working Group. This file is installed by a TWAIN application or driver in the SYSTEM32 directory on native 32-bit Windows systems, or in the SYSWOW64 directory on native 64-bit Windows systems.

Applications that use TWAINDSM.DLL are able to access 32-bit TWAIN drivers of any version, they are not limited to just TWAIN 2.0 drivers.

TWAIN drivers that access TWAIN_32.DLL do not have to be modified. TWAINDSM captures accesses to DSM_Entry through TWAIN_32.DLL, and automatically redirects them to the DSM_Entry in TWAINDSM.DLL.

Windows 64-bit Support

TWAIN supports native 64-bit for x64 platforms. The new DSM is required, and should be installed in the Windows SYSTEM32 directory.

See Also

Licensing

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback