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



Last Go to last post Unread Go to first unread post
#1 Posted : Monday, September 16, 2013 11:40:31 PM(UTC)


Groups: Registered
Posts: 256

If you are sure that the 3rd-party application is using TWAIN and not WIA drivers, then the most likely cause is that you have a 64-bit TWAIN driver for your scanner.
32-bit TWAIN drivers are in the Windows\TWAIN_32 directory and 64-bit TWAIN drivers in the Windows\TWAIN_64 directory. The file extension for a TWAIN driver is .ds.

You should verify that you have the correct TWAIN driver using Twacker. Twacker is a test tool from the TWAIN Working group. To obtain the utility, go to Tools section of this TWAIN.org page.

If you want to be able to support both 32-bit and 64-bit TWAIN drivers, then you can choose to launch the TwainSession using the Thunk Server which will Initialize the TWAIN session with THUNK server option in order to interact with 32-Bit TWAIN drivers from a 64-Bit process.

Startup Method:

TwainStartupFlags Enum

TwainSession session = new TwainSession(); 
   session.Startup(parent, "manufacturer", "productFamily", "version", "application", TwainStartupFlags.UseThunkServer);

So if you have a 64 bit application, using the Thunk server startup flag will enable you to interact with both 64 bit devices as well as 32 bit ones.

Edited by moderator Wednesday, March 21, 2018 9:39:07 AM(UTC)  | Reason: Updated links to v20


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.

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-2023, Yet Another Forum.NET
This page was generated in 0.043 seconds.