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 with an unusual dev issue

Forums › TWAIN Classic › Help with an unusual dev issue

  • This topic has 2 replies, 2 voices, and was last updated 12 years, 11 months ago by loismustdie.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • April 28, 2008 at 1:37 pm #22324 Reply
    loismustdie
    Participant
    • Topics - 1
    • Replies - 2
    • Total Posts - 3

    I have a Windows app that uses TWAIN to scan images – it has all of the usual features. One customer who is using it has Fujitsu fi-4120C2dj scanners, and on some XP machines, that scanner does not show up in the ‘select source’ list, and it does not return in the list if I do a MSG_GETFIRST…MSG_GETNEXT enumeration. However, in other applications it does show up, and I wrote a test application using the exact same code as my original app and it shows up there too. I made sure that the supportedgroups tag is set correctly, so I’m not sure why this scanner isn’t reported to my app. Anyone have any ideas on why the source manager would not report this scanner to one application, but would to another (using the exact same TWAIN implementation code)? Thanks.

    April 28, 2008 at 4:02 pm #24472 Reply
    gabe
    Participant
    • Topics - 9
    • Replies - 583
    • Total Posts - 592

    where and how are you looking for twain_32.dll? My experience with device’s not showing up has been people with roaming profiles / citrix / terminal server where your loadlibrary call is picking up a different dll than where the .ds is. What is the path to the .ds and what path are loading twain_32.dll from?
    I’d double check with process explorer (sysinternals).

    .

    May 5, 2008 at 7:06 pm #24473 Reply
    loismustdie
    Participant
    • Topics - 1
    • Replies - 2
    • Total Posts - 3

    I checked both the app that doesn’t work and the one that does – both are loading the TWAIN_32.DLL from the same place and if I enumerate all of the .DS files that exist, both apps come up with the same list. What I have discovered is that the scanner in question has a single .DS file that seems to expose two ‘sources’ – one that is WIA and one that is not. My app that is having the problem shows the WIA source, but not the non-WIA source. All of the other apps show both sources. Is there something that I’m missing that could be telling the source manager that it should only show the WIA source? I can’t find any differences between the implementation of the two apps or the way it is loading and communicating with the source manager.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Help with an unusual dev issue
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

  • TWAIN for dental imaging integration
  • 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.