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

Reply To: Application crashes when acquiring image

Forums › TWAIN Classic › Application crashes when acquiring image › Reply To: Application crashes when acquiring image

June 24, 2009 at 1:31 pm #24922
andrewfife
Participant
  • Topics - 1
  • Replies - 3
  • Total Posts - 4

Thanks for pointing out the log file to me, I didn’t know that was there. Apon inspecting this file I’ve noticed the following differences:

CAPABILITY, SET, XFERMECH sets rc=1 in my application, 0 in twacker.

CONTROL, EVENT, PROCESSEVENT sets rc=5 for some reason. In twacker this is 4. When running through the code, it only transfers when rc=4, but for some reason this is 5 in the log.

IMAGE, IMAGENATIVEXFER, GET is the last line in the log file, so I don’t know what rc is in this case. This is also where the application crashes.

I also run DG_CONTROL / DAT_STATUS / MSG_GET after setting XFERMECH, and the condition code it returns is 10 – Bad value. Not sure why this is.

I will double check the sequence, but I did think this was right.

Thanks

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