C and C++ Development
Please note: If you are building a 64-bit application, instead of DTWAIN32(U).DLL as described in this and other sections, you will be using DTWAIN64(U).DLL.
This section will describe the usage of DTWAIN32.DLL, import libraries, and other aspects of using C or C++ as the language to use when developing DTWAIN applications.
For Visual C++ and Borland C++ Builder, import libraries have been created so that linking to the DTWAIN32 DLL is very simple (just include the LIB file in your project).
For other C++ compilers such as gcc (this includes Dev-C++ / MingW), Digital Mars, CodeWarrior, and any other Windows C++ compiler, you should use the method of loading the DTWAIN32 DLL at runtime instead of using import libraries (you can also do this for Visual C++ and Borland/Inprise compilers).
|