TwainOpenDefaultSource timeout

Discussions about TWAIN & WIA scanning in GdPicture.NET using GdPictureImaging.
Post Reply
Mcb2000
Posts: 3
Joined: Wed Aug 04, 2010 1:45 pm

TwainOpenDefaultSource timeout

Post by Mcb2000 » Tue Oct 12, 2010 12:43 pm

Hello

We've experienced some problems with some customers trying to open the default source with GdPictureImaging.

It takes a very long time to call this method. This is probably because of some scanner that is not properly configured, but we would like to know if there is any way to put a timeout on the call to this method?

Best regards,
Martin Balke

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

Re: TwainOpenDefaultSource timeout

Post by Loïc » Tue Oct 12, 2010 4:12 pm

Hi Martin,

Good idea but unfortunately TWAIN references doesn't provide such feature.
A workaround consists to call the function in a separated thread but I can promise 100% expected behavior...

Kind regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests