Program Development For Various Computer Languages |
Top Previous Next |
Depending on the programming language chosen, developing an application using the DTWAIN library will vary. Some languages require interface files so that the compiler or interpreter will understand the calls to the DTWAIN functions.
Here are some of the requirements to develop and run DTWAIN programs in various languages using the DTWAIN DLL.:
DTWAIN32.DLL or DTWAIN64.DLL (for 64-bit applications) DTWENG.L32 or DTWENG.L64 (for 64-bit applications). This contains the English version of the DTWAIN error messages.
The *.L32/*.L64 resource DLL's are actually optional, but it is recommended that they appear since DTWAIN error messages cannot return valid information if the appropriate *.L32 or *.L64 file cannot be found.
For each environment, you must add the interface file to your project, unless the file only contains constants (such as XBase++). If the file only contains constant values, then
The interface files are found in the various DTWAIN installation directory. Please refer to the DTWAIN Help Documentation on where to find these files in the installation.
____________________________________________________________________________ Note for Visual Basic users: None of the Dynamic Link Libraries that come with DTWAIN are Active-X DLL's. For example, you cannot register them with regsrvr32.exe. The DLL's are regular Windows DLL's where all that is needed is for them to be placed in a directory that is accessible by your PATH, or in your program's executable directory. ____________________________________________________________________________
____________________________________________________________________________ Note for .NET application developers: For languages that are based on the .NET framework (C#, Visual Basic .NET), some of the projects and example source code included in the DTWAIN installation may not compile with NET 1.1 framework. Please note that this is not a problem with DTWAIN, but with the example programs not being backward compatible with older versions of the .NET framework.
In any event, any .NET application, regardless of version, can be created using DTWAIN by using the example programs as a guideline as to how to call the DTWAIN functions. ____________________________________________________________________________
|