Home › Forums › TWAIN Classic › Scanning Application + VS 2012
- This topic has 3 replies, 2 voices, and was last updated 10 years, 6 months ago by Catherine Sea.
- AuthorPosts
Hello TWAIN community!
Firstly a little context to the subject. I have written a basic stand-alone scanning app in VB.NET for Visual Studio 2012, to familiarise myself with the TWAIN.dll library, that works perfectly.
I am now trying to integrate this scanning app into a larger solution. However it does not work, the DeviceManager does not detect the device.
I have checked the separate projects to find differences and I believe I have found the problem, but how to fix it is why I am here!
In Visual Studio 2012, when the “Prefer 32-bit” compiler option is not checked, it does NOT detect the device, when this checkbox IS ticked, the DeviceManager can detect the device.
For the larger solution that this scanning app is to be integrated into, checking the “prefer 32-bit” box is NOT an option,
so what needs to be changed for the Device to register?Note: I have a feeling that it might be driver related
I’m using a CanoScan 5600F and the 64-bit 14.0.7 DriverMuch Appreciated
/Chris /SmittlesPlease verify if you have a 64-bit TWAIN driver for your scanner. You can test with twack_64 which can be downloaded here:
http://twain.org/scannerdriverdevelopers/specification-and-tools.htmlCatherine Sea
http://www.dynamsoft.comHello Catherine, thanks for the reply.
When I use twack_64 the device does not appear in ‘select source’ however when I use the twack_32 the device does appear in the list, I am not sure what this means or how it relates to my application.
Much appreciated,
ChrisWhen I use twack_64 the device does not appear in ‘select source’ however when I use the twack_32 the device does appear in the list, I am not sure what this means or how it relates to my application.
This indicates that you only have 32-bit TWAIN driver on the machine, which is the case for most scanners. You may confirm with the vendor of the scanner whether they provide 64-bit TWAIN driver. Or you need to compile your application in 32-bit mode to work with the 32-bit TWAIN driver.
Catherine Sea
http://www.dynamsoft.com- AuthorPosts