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

Help please. Having a strange problem.

Forums › TWAIN Classic › Help please. Having a strange problem.

  • This topic has 2 replies, 1 voice, and was last updated 6 years, 10 months ago by TOR.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • May 26, 2014 at 11:25 am #22951 Reply
    TOR
    Participant
    • Topics - 7
    • Replies - 11
    • Total Posts - 18

    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

    May 27, 2014 at 10:10 am #26147 Reply
    TOR
    Participant
    • Topics - 7
    • Replies - 11
    • Total Posts - 18

    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.

    May 27, 2014 at 2:55 pm #26148 Reply
    TOR
    Participant
    • Topics - 7
    • Replies - 11
    • Total Posts - 18

    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.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Help please. Having a strange problem.
Your information:




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

  • Sports betting Bonus Code
  • 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
  • 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

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.