Issue with x64 Application and Missing twain_64 Driver
I’m unable to scan using the x64 version of my application, even after placing TWAINDSM.dll in the application’s executable directory.
The x86 version of the same application works without any issues.
The same problem occurs when running Twack_64.exe.
Is there any known workaround for this?
You will need to give more details.
-
What is the exact error you are getting when you attempt to scan? What error are you getting when you use TWACK_64?
-
What are you using to determine that the issue is TWAINDSM.dll not being found? Are you sure you are using the 64-bit version of TWAINDSM.DLL and not the 32-bit version (if it is the latter, there will be an error loading a 32-bit DLL if running a 64-bit program)?
-
Run DTWDEMO64.exe and generate a log file. Observe the first few lines of the file. It will tell you exactly where the DSM was found on your system.
-
As a last resort, the function DTWAIN_SetDSMSearchOrderEx allows you to specify the set of search locations for TWAINDSM.DLL.
-
If the scanner you are using has an installation program from the manufacturer, the installer should have installed a version of TWAINDSM.DLL in the appropriate directory so that the scanner manufacturer's software will work correctly. If this is the case, does the 64-bit version of the scanner's software work correctly?