Example - Logging TWAIN Calls

Top  Previous  Next

The following is an example of setting the logging options in the DTWAIN32.INI file:

 

[Language]

;English language DLL

DLL=DTWENG.L32

 

[DSMErrorLogging]

;Turn on file logging and log to c:.log

File=c:.log

 

;Turn on expansion of TW_IDENTITY structures

DecodeIdentity1=1

DecodeIdentity2=1

 

;Turn off decode Data

DecodeData=0

 

; Turn on DTWAIN call stack logging

CallStack=1