Program Development For Various Computer Languages
|
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(u).dll or dtwain64(u).dll (for 64-bit applications) twaininfo.txt dtwain32.ini or dtwain64.ini (for 64-bit applications)
For many DTWAIN functions, a return code of TRUE or FALSE will be given. For DTWAIN, TRUE is an integer value of 1, FALSE is an integer value of 0. If you are calling a DTWAIN function that requires TRUE or FALSE as an argument, you must state 1 or 0, respectively. If the computer language you are using has keywords True, False or something similar, you must make sure that these keywords result in an integral 1 for TRUE, and 0 for FALSE. |