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 error" or "TWRC_FAILURE" er

Forums › TWAIN Classic › "Application error" or "TWRC_FAILURE" er › Reply To: "Application error" or "TWRC_FAILURE" er

August 31, 2007 at 10:22 pm #24121
sparge
Participant
  • Topics - 2
  • Replies - 23
  • Total Posts - 25

Hi Kenji,

What a great question! I have encountered problems like this with lots of scanners when repeatedly opening and closing the DS, and have long suspected that there must be a very longstanding memory-management bug either in the DSM or in Windows. When I first raised this a few years ago, the general perception seemed to be that no-one sane ever opened and closed their DS more than a handful of times in a session, so my observation was purely of academic interest – and the TWAIN guys assured me that the DSM was ancient, venerable and watertight code anyway …

Furthermore, I write my apps in FORTRAN, so there is always the suspicion that some cross-compiler issue is to blame. You are the first person I have come across to have found and reported the problem, coding directly in the same language as specified in the TWAIN standard.

It’s particularly interesting that you get the issue with a Fujitsu scanner. I only wish the budgets I get given to play with came anywhere near being able to afford one. The scanners I work with are cheap and cheerful, so my experience can always be discounted on grounds of shoddily-written scanner drivers if not on grounds of mixed-language programming.

Good luck with solving the mystery. You will need it.

Andy

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

  • PDF/R For who and where?
  • Making searchable PDF with PDF/R
  • Backward compatibility with PDF/A and traditional PDF
  • could not open the twain source. Make sure there is a valid source for your sca
  • Changing TWAIN driver defaults
  • 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