![]() |
![]() |
|
Fairly often we get questions from developers new to TWAIN asking why their application works great when compiled as a 32-bit application but none of their scanners show up in x64 bit mode. (With the possible exception of a few software based testing scanners.)
The reason your scanner is missing when you compile as a x64 bit application is that your scanner doesn't have a 64-bit TWAIN driver. Yes, it supports your 64-bit operating system, but it is still only a 32-bit driver and 32-bit implementation of TWAIN. In order to show up to TWAIN in a 64-bit application it needs to implement the full 64-bit TWAIN interface. This limitation is not unique to us, all products that use TWAIN have this same exact limitation.
However, for now, until you actually have a scanner in your possession that has genuine 64-bit drivers you will need to target 32-bit TWAIN.
Also, note:
The TWAIN working group has created a TWAIN Sample DataSource. You can download it here:
https://github.com/twain/twain-samples
Please note: for actual 64 bity version, make sure you download the installer for win64
2025-06-18 - TD