TwainSelectSource(ptr) does not work in a thread

Discussions about TWAIN & WIA scanning in GdPicture.NET using GdPictureImaging.
Post Reply
DriverTech
Posts: 9
Joined: Fri Dec 14, 2012 10:00 pm

TwainSelectSource(ptr) does not work in a thread

Post by DriverTech » Mon Aug 12, 2013 11:48 pm

Hello,

I am trying to do TWAIN scanning in an asynchronous thread. I followed Loic's post on best practices exactly. If I call TwainSelectSource(ptr) outside of the worker thread, my scanner (Visioneer Strobe XP 220, with 32 bit drivers installed and target x86) shows up in the list of sources. If I call TwainSelectSource(ptr) in the worker thread, the scanner does not show up in the list of available sources.

Thank you for your help!

DriverTech

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: TwainSelectSource(ptr) does not work in a thread

Post by Loïc » Tue Aug 13, 2013 1:27 pm

Hello,

We need more information to investigate TWAIN problems. Here the procedure including some tips: viewtopic.php?t=1486

Kind regards,

Loïc

DriverTech
Posts: 9
Joined: Fri Dec 14, 2012 10:00 pm

Re: TwainSelectSource(ptr) does not work in a thread

Post by DriverTech » Tue Aug 13, 2013 6:23 pm

I submitted a support ticket, thank you.

Post Reply

Who is online

Users browsing this forum: Amazon [Bot] and 2 guests