Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#2 Warm applications that use multiple threads

Datasource
open
nobody
TWAIN Spec (3)
5
2010-02-16
2010-02-16
Jim Watters
No

Applications must call TWAIN Session from a single thread.
TWAIN session as the period between successful OPENDSM and CLOSEDSM.

Add code to the Sample DS that will warm applications that try to use multiple threads in a TWAIN session.
Recode the thread ID used when the DS is open and verify it is the same thread used to EnableDS and Transfer images.
If a different thread is used display a warning message.

Discussion