TWAIN Working Group

Newsletter Signup
Donate
Help keep TWAIN free
  • About TWAIN
    • What’s New?
    • News
    • Events
    • Membership
    • Consider a Donation
    • Contact Us
  • Why TWAIN?
  • Developers
    • Driver Developer
    • Application Developer
    • TWAIN Features
    • Specification & Tools
    • Self Certification Process
  • Support Forums
  • Scanner End-User
  • Find Certified Drivers
    • Facebook
    • LinkedIn
    • Vimeo

Scanning Application + VS 2012

Forums › TWAIN Classic › Scanning Application + VS 2012

  • This topic has 3 replies, 2 voices, and was last updated 7 years, 4 months ago by Catherine Sea.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • September 6, 2013 at 9:08 am #22885 Reply
    Smittles
    Participant
    • Topics - 1
    • Replies - 1
    • Total Posts - 2

    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 Driver

    Much Appreciated
    /Chris /Smittles

    September 9, 2013 at 6:27 am #25992 Reply
    Catherine Sea
    Participant
    • Topics - 0
    • Replies - 59
    • Total Posts - 59

    Please verify if you have a 64-bit TWAIN driver for your scanner. You can test with twack_64 which can be downloaded here:
    https://www.twain.org/scannerdriverdevelopers/specification-and-tools.html

    Catherine Sea
    http://www.dynamsoft.com

    September 9, 2013 at 8:12 am #25993 Reply
    Smittles
    Participant
    • Topics - 1
    • Replies - 1
    • Total Posts - 2

    Hello 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,
    Chris

    September 10, 2013 at 5:57 am #25994 Reply
    Catherine Sea
    Participant
    • Topics - 0
    • Replies - 59
    • Total Posts - 59

    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.

    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

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Scanning Application + VS 2012
Your information:




Quick Links

Service Providers
TWAIN Support Forums
Membership
Contact Us
Privacy Policy

Newsletter Signup

TWAIN Working Group Family

TWAIN Working Group
TWAIN Direct®
TWAIN Resources
TWAIN Certified Drivers
PDF/raster

  • Facebook
  • GitHub
  • LinkedIn
  • Vimeo

Recent Topics

  • EPSON V600 TWAIN and WIA on Windows 10
  • When and how to use WaitForEvents command ?
  • Problem enumerating list of installed scanners in windows server 2012
  • Failed to create TWAIN progress! Error code is 1260.
  • To get the list of scanners from javascript client side (browser)
  • Quarterly Newsletter
  • TWAIN Working Group Membership
  • Logo Usage
  • TWAIN License
  • Contact Us
Privacy Policy • Privacy Tools • Copyright © 2021 TWAIN Working Group • by iHwy, LLC • Log in

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.