Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Friday, September 2, 2005 3:28:25 PM(UTC)

Ann  
Ann

Groups: Registered
Posts: 1


Hi,

I am new to the LEAD tool TWAIN ActiveX controls, and not all too familiar with TWAIN nor scanning in general.  I am trying to support this code that calls the SelectSource(), which returns a short int.  Is there a code for if the user clicks Cancel in the Select Source dialog?  From your help file, it only says 0 means successful, but it does not show the list of error code values (when I click on the link, the link was broken, and I cannot view the list of error codes).  Right now, there is no way for me to know if the user clicked Cancel vs. if there is truly an error.

I am using VC++ on Windows XP.

Thank you,

Ann

 

 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Monday, September 5, 2005 10:40:49 PM(UTC)

Bashar  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

When you click Cancel the method will return 20563, which means "Cancel Operation Done".

Bashar Abdulqaiyume
LEAD Technologies, Inc.
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.052 seconds.