ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Twain Acquire in second thread
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

reza

Iran
1 Posts

Posted - Nov 01 2014 :  04:41:38  Show Profile  Reply
Is it possible to acquire from a twain scanner in second thread. (ie put the ImageEnIO.Acquire in second thread) this is because, if I use first thread the buttons not work until finishing the scanning.
(XE7 and ImageEn 5.2.0)
(I heard that MCM can do this. is it true?)

xequte

39319 Posts

Posted - Nov 24 2014 :  01:27:28  Show Profile  Reply
Hi

In our testing it is not possible because Twain uses the window messaging queue to send notifications (about the image is ready, etc..). This queue must run in the main thread due to UI blocks.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: