Application Message Loop

Top  Previous  Next

TWAIN is a message driven protocol and API.   The application must be ready to process messages that are sent to it by the Source or Source Manager.  This is done by adding code to the default application message loop processing.  This aspect of TWAIN programming can be very error-prone and for the most part, is the cause of most problems when programming a TWAIN-compliant application.  With DTWAIN, this extra level of work is greatly simplified, if not completely eliminated.

 

DTWAIN Application Loop Processing