Home › Forums › TWAIN Classic › Help please. Having a strange problem.
- This topic has 2 replies, 1 voice, and was last updated 9 years, 10 months ago by TOR.
- AuthorPosts
Hi all,
Having a strange problem. I’m writing an application to run on win 8.1, 8 and 7.
The application is 32-bit. The environments are 64-bit.
I’m using TWAINDSM.dll 2.3 32-bit. It’s installed on the application’s directory.The application is running fine on all environments apart from the following.
OK so here is the problem. There are two machines identical in spec. Windows 8.1 64-bit.
Works on one but not the other. Just failing on one machine.
I tried re-installing the scanner’s drivers application to no success.I’ve started to look into window’s VirtualProtect function as I have read that this can cause
problems when accessing twain 1.9 driver from twain 2.0 application. This doesn’t explain
why it would work on one machine and not the other.Any help would be greatly appreciated.
Here is what twaindsm.dll is saying:[113946355 dsm.cpp 2368 0 000010BC] TwainDotNet -> DSM
[113946355 dsm.cpp 2377 0 000010BC] DG_CONTROL/DAT_IDENTITY/MSG_OPENDS
[113946355 apps.cpp 1387 0 000010BC] Datasource: “EPSON”
[113946355 apps.cpp 1388 0 000010BC] “EPSON Flatbed Scanner”
[113946355 apps.cpp 1389 0 000010BC] “EPSON DS-5500/6500/7500” version: 5.1
[113946355 apps.cpp 1390 0 000010BC] TWAIN 1.9
[113946356 apps.cpp 1462 0 000010BC] Loaded library: C:WINDOWStwain_32escndvds5500.ds
[113946359 dsm.cpp 1250 0 000010BC] MSG_OPENDS failed…
[113946359 apps.cpp 654 0 000010BC] Condition Code: Failure due to unknown causes
[113946360 dsm.cpp 2432 0 000010BC] TWRC_FAILURE
[113946360 dsm.cpp 2368 0 000010BC] TwainDotNet -> DSM
[113946360 dsm.cpp 2377 0 000010BC] DG_CONTROL/DAT_IDENTITY/MSG_CLOSEDS
[113946360 dsm.cpp 2432 0 000010BC] TWRC_SUCCESS
[113946360 dsm.cpp 2368 5 000010BC] TwainDotNet -> DSM
[113946360 dsm.cpp 2377 5 000010BC] DG_CONTROL/DAT_IDENTITY/MSG_GETFIRST
[113946360 dsm.cpp 2432 5 000010BC] TWRC_SUCCESS
[113946360 dsm.cpp 2368 5 000010BC] TwainDotNet -> DSM
[113946360 dsm.cpp 2377 5 000010BC] DG_CONTROL/DAT_IDENTITY/MSG_GETNEXT
[113946360 dsm.cpp 2432 5 000010BC] TWRC_ENDOFLIST
[113946360 dsm.cpp 2368 5 000010BC] TwainDotNet -> DSM
[113946360 dsm.cpp 2377 5 000010BC] DG_CONTROL/DAT_IDENTITY/MSG_CLOSEDS
[113946360 dsm.cpp 2432 5 000010BC] TWRC_SUCCESS
[113946376 dsm.cpp 577 0 000010BC] Unable to find driver, check your AppId and DsId values…
[113946376 apps.cpp 654 0 000010BC] Condition Code: DS or DSM reported error, application shouldn’t display an error
[113946376 dsm.cpp 579 0 000010BC] DS_Entry is null…1
Ok I have seemed to have narrow this problem down.
It’s only occurring with a specific user although the user has the same credentials as everyone else.
It’s a real brain twister this one.
Solved finally.
What the problem was, I’m unsure.
What fixed it was resetting the user’s profile on the machine.
Their profile got corrupt in some way.
Must be a bug in Windows 8.1.
- AuthorPosts