Redistributable Files

Top  Previous  Next

The following files are the only DTWAIN related files that you can legally redistribute with any application you create with DTWAIN:

 

DLL Files

DTWAIN32.DLL (for 32-bit, ANSI/MBCS character-based applications)

DTWAIN64.DLL (for 64-bit, ANSI/MBCS character-based applications)

DTWAIN32U.DLL (for 32-bit, Unicode character-based applications)

DTWAIN64U.DLL (for 64-bit, Unicode character-based applications)

TWAINDSM.DLL (this file is mandatory only if you are running DTWAIN64(U).DLL  or if you are using DTWAIN32(U).DLL and want to use the Open Source TWAIN DSM)

 

 

Language DLL files

DTWDEU.L32

DTWDTC.L32

DTWENG.L32

DTWFRE.L32

DTWITA.L32

DTWSPA.L32

 

The 64-bit version of the Langage DLL files are as follows:

DTWDEU.L64

DTWDTC.L64

DTWENG.L64

DTWFRE.L64

DTWITA.L64

DTWSPA.L64

 

INI Files

DTWAIN32.INI

 

In addition to the files above, the executable files found in the Testbed subdirectory of the installation can also be redistributed.

 

You are not allowed to redistribute any other DTWAIN related files if you distribute your application using DTWAIN.  Doing so is in violation of the DTWAIN Software License agreement.  The license can be found in the License subdirectory of the installation.

 

The TWAINDSM.DLL file is only needed if you are using DTWAIN64(U).DLL. You must install this file on the user's system on any accessible directory specified in the path, or in your application's program directory if you're targeting 64-bit applications..

 

The TWAINDSM.DLL dynamic link library holds the implementation of the TWAIN Data Source Manager (DSM), developed by the Twain Working Group (http://www.twain.org)   This DLL is responsible for routing TWAIN messages between DTWAIN and the individual TWAIN drivers that are installed for each of the TWAIN devices. For 64-bit operating systems, there is no TWAIN Data Source Manager that comes pre-installed when you initially install the operating system, unlike 32-bit operating systems.

 

For 32-bit operating systems, the pre-installed TWAIN Data Source Manager is TWAIN_32.DLL.  You will usually find this file in the WIndows System32 directory.  All 32-bit Windows operating systems (and 32-bit subsystem of 64-bit Windows operating system) has this file as part of the installation, so there is no need for your app to install the Data Source Manager if you're targeting 32-bit applications.

 

However, there is a 32-bit version of the Open Source TWAIN DSM.  If you are targeting 32-bit apps, and want to use the Open Source DSM, there is a special 32-bit version of TWAINDSM.DLL that you can install.

 

The major difference between TWAINDSM.DLL and TWAIN_32.DLL is that TWAINDSM.DLL has implemented the alternate, new way of communicating with TWAIN drivers

 

- Unlike 32-bit Windows operating systems, there is no TWAIN Data Source Manager (TWAIN_32.DLL) that comes pre-installed for 64-bit systems, so you must install the Open Source TWAINDSM.DLL data source manager to enable TWAIN functionality

 

If you are running on a 32-bit OS, then TWAINDSM.DLL is not required, but the 32-bit version of TWAINDSM.DLL still can be used as the TWAIN Data Source Manager.  The DTWAIN library has several functions that can be called to choose between whether to use the traditional TWAIN_32.DLL source manager or the new Open Source TWAINDSM.DLL source manager.