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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Twain Acquire in second thread

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
reza Posted - Nov 01 2014 : 04:41:38
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?)
1   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Nov 24 2014 : 01:27:28
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