How to catch TWAIN error if TwainOpenSource fails?

Discussions about image processing and document imaging.
Post Reply
Slava
Posts: 66
Joined: Fri Jun 22, 2007 4:43 pm

How to catch TWAIN error if TwainOpenSource fails?

Post by Slava » Thu Aug 23, 2007 9:55 am

Hi Loic,

I seem not to be able to catch the error message "Can't locate SCSI device; check cable and power.(-4536)" when scanner is installed but unplugged. I want to do something else in the background instead of error message.
try - except still results in error message. Any idea's?

Kind regards,

Slava

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

Post by Loïc » Thu Aug 23, 2007 1:36 pm

Hi Slava!

Unfortunately this error box came from your device driver.

As I know, there is any way to catch this kind of message :( .
However you get a look on your driver configuration to see what you can do.


Best regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest