Setting the Language For Error Messages |
Top Previous Next |
The language used by DTWAIN for error messages returned by DTWAIN_GetErrorString is set by the [Language] section in the DTWAIN32.INI file.
[Language] ;English language DLL=DTWENG.L32
The "DLL=" entry is the name of the language DLL that is used for DTWAIN error messages. If the [Language] section or "DLL" entry is missing, the default language that is used is English. If you are distributing an application that uses DTWAIN and uses a language other than English, you must also ship the appropriate language DLL as well as an INI file with the correct language setting.
The available languages are stored in files ending in 'L32' file extension for 32-bit DTWAIN applications, and 'L64" for 64-bit applications, respectively. They are located in the /DLL subdirectory of the DTWAIN installation.
|