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
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