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: [Urgent] Critical issue with TWAIN DSM 2.0 and Windows Vista

Forums › TWAIN Classic › [Urgent] Critical issue with TWAIN DSM 2.0 and Windows Vista › Reply To: [Urgent] Critical issue with TWAIN DSM 2.0 and Windows Vista

June 10, 2009 at 9:30 pm #24883
jimwatters
Participant
  • Topics - 2
  • Replies - 72
  • Total Posts - 74

I installed the Canon DS to try and run in simulation mode.

OpenDS does not cause any crash for me, but I do get a dialog to Configure Device Settings. Selected Device: No Devices Found.
If I click OK or Cancel, “Can’t locate device; check cable and power. (-4536)”
The DS then returns TWRC_FAILURE
Is something else required to run in simulation mode?

The source code for the TWAINDSM.dll is available. you could try building it and stepping through the code to see what is happening.
https://sourceforge.net/project/showfiles.php?group_id=180588&package_id=265942
line 1127 of dsm.cpp is where the DS is sent the MSG_OPENDS message.

Maybe these DS can not handle Application identity structure with DF_DSM2 flag. Or one of the TW_STR32 of the identity structure that are not NULL terminated and the DS does a strcpy without limiting the number of characters copied.

Jim Watters

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

  • Hello world
  • Girls of Desire: All babes in one place, crazy, art
  • 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
  • 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