I want to write a program that does (a lot of things with the scanner), but I have no experience with using DTWAIN. Whats the easiest thing to do to start writing DTWAIN programs?
Please look at the sample programs that are installed in the Examples subdirectory. The simplest program would be to check if TWAIN is installed, initialize DTWAIN, select a device, acquire an image to a file, and shutdown DTWAIN. Basically, this series of function calls DTWAIN_IsTwainAvailable DTWAIN_SysInitialize DTWAIN_SelectSource DTWAIN_AcquireFile DTWAIN_SysDestroy Please refer to the DTWAIN help file for further information on return values and parameters for these functions. Once these functions operate correctly, then you can start to experiment with the other aspects of setting your scanner’s capabilities, and other more advanced features.