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 : Sunday, August 20, 2006 11:44:48 PM(UTC)

asholic  
asholic

Groups: Registered
Posts: 4


Hello.

I'm so sorry , I queried many questions for a short time.

But, I guess these questions are helpful for all of us. :) ....maybe...

I wonder how to check the Device status before opening Interface Dialog.

When  I open Interface Dialog directly with ::"L_TwainAcquireList" ,

I have some problems.

There are results that I can't expect.

Because when I access a device after other program accesses same one, already.

So I need how to check device status before a opening Interface Dialog.

is it possible?

Although "L_TwainAcquireList"  returnes codes powerfully,

There are many cases that are  fatal error in implcit  before returning code. 

What am i going to do?

Thank you for reading.

 

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 : Wednesday, August 23, 2006 10:27:00 PM(UTC)
Maen Hasan

Groups: Registered, Tech Support
Posts: 1,328

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

Hello,

You need to determine whether
the TWAIN source is installed by using the L_IsTwainAvailable function.
If the function returnes At least TRUE, this means at least one TWAIN
source is installed. Then you need to call the L_TwainInitSession
function to Initializes the TWAIN session. If the function returns success then I think it's safe to call the L_TwainAcquireList function.

But if you need to check the
success of scanning each image individually, you should use the
L_TwainAcquire function and provide a LTWAINBITMAPCALLBACK function for processing each image.


For more information, please refer to the LEADTOOLS Twain API Help file and read the following topics:
- L_IsTwainAvailable.
- L_TwainInitSession.
- L_TwainAcquireList.
- L_TwainAcquire.
- LTWAINBITMAPCALLBACK.

Thanks,
Maen Badwan
LEADTOOLS Technical Support
 
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-2020, Yet Another Forum.NET
This page was generated in 0.103 seconds.