The LEADTOOLS Twain Thunk was created to enable you to interact with Win32 TWAIN drivers from a 64-Bit process. For instance, a Scanner driver that is ONLY supported on a 32-Bit environment will not be able to interact with your scanner from a 64-Bit process application. The LEADTOOLS Twain Thunk Server will allow you to do so.
To use the LEADTOOLS TWAIN Thunk Server in your .NET application, pass the UseThunkServer flag to the flags parameter to the TwainSession.Startup or TwainSession.Startup2 methods. The rest of your application code remains unaffected.
Additional files need to be included in distribution files for your application when using the LEADTOOLS TWAIN Thunk Server framework:
File | Description |
---|---|
LtThunkServer.exe |
COM+ Thunk Server |
lttwnthunku.dll |
Helper for LEADTOOLS TWAIN library |
LtThunkutlu.dll |
32-Bit helper DLL for the LEADTOOLS CDLL framework |
LtThunkutlx.dll |
64 bit helper DLL for the LEADTOOLS CDLL framework |
Lttwnu.dll |
32-Bit TWAIN library |
Ltkrnu.dll |
32-Bit kernel library |
Ltfilu.dll |
32-Bit filter library |
Lfbmpu.dll |
32-Bit BMP filter library |
Lfcmpu.dll |
32-Bit CMP filter library |
Lfrawu.dll |
32-Bit RAW filter library |
Lftifu.dll |
32-Bit TIF filter library |
The LEADTOOLS TWAIN Thunk Server is based on COM+ technology. Register the server as part of the setup procedure for your application. Perform the following steps to register the LEADTOOLS TWAIN Thunk Server that ships with the LEADTOOLS .NET Class Library:
Run the Windows Command prompt with Administrator privileges
Run the following command:
[LEADTOOLS Installation Folder]"\Bin\Common\LEADTOOLS Thunk\LtThunkServer.exe" /regserver
These exact steps are used by the LEADTOOLS Installation program during setup. Your application's setup should do something similar.
Products |
Support |
Feedback: Using the LEADTOOLS THUNK Utility with TWAIN |
Introduction |
Help Version 19.0.2017.6.21
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.