- This topic has 1 reply, 2 voices, and was last updated 16 years, 8 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
The TWAIN Resource site is designed to help TWAIN users and prospective users find resources in the community for TWAIN-related products and services. Become a member.
Home › Forums › TWAIN Classic › Data Source Manager and OpenClose operation
Hi All,
In many samples, including demo from twain.org, I found that DSM is alway do transition from open to close state. So I have question what is wrong to keep it open always? (load and open at the begging of app and close at the end)
Thank you,
Denis
I open it after loading the twain.dll and close it at the end of the session. I don’t think you should close it somewhere in the middle because this would also include closing and loading the source all the time, which could cause problems.