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

WIA on TWAIN sample driver compile/install problem

Forums › TWAIN Classic › WIA on TWAIN sample driver compile/install problem

  • This topic has 1 reply, 2 voices, and was last updated 5 years, 3 months ago by Jika.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • August 9, 2011 at 5:48 pm #22703 Reply
    Houdini
    Participant
    • Topics - 1
    • Replies - 0
    • Total Posts - 1

    Ok, I am able to install the sample WIA driver that comes with WIA on TWAIN by using this command:

    devcon install wiadriver.inf WIAONTWAIN_DRIVER_PNP_ID

    Everything installs and I can scan using a WIA supported application, such as MSPaint.

    However, if I compile the sample WIA driver source that comes with WIA on TWAIN and replace the pre-built WIA_ON_TWAIN.DLL with a freshly compiled version and re-install the drivers then scanning no longer works. It installs just fine, but if I try to scan I get a “Unable to retrieve picture from device. Verify the device is properly connected and try again” right away when trying to scan in MSPaint. If I try to view the properties of the scanner I get the error “Unable to display properties for the selected device”.

    I’m building using Visual Studio 2008 SP1, compiling in Release 32bit mode. The file size between the pre-built and my compile is around 500 bytes difference.

    Has anyone else had issues with the included source? Any ideas how to fix this?

    – Houdini

    October 19, 2015 at 9:20 am #25479 Reply
    Jika
    Participant
    • Topics - 0
    • Replies - 1
    • Total Posts - 1

    Is there any solution for this ? I have the same problem. After recompiling I am unable install and use wia on twain.

    Jika

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: WIA on TWAIN sample driver compile/install problem
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.