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

NODS – No Datasources found

Forums › TWAIN Classic › NODS – No Datasources found

  • This topic has 1 reply, 2 voices, and was last updated 6 years, 4 months ago by MarkM.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • August 4, 2014 at 1:01 pm #22963 Reply
    DonkeyKong
    Participant
    • Topics - 1
    • Replies - 0
    • Total Posts - 1

    Hello,

    I have the problem that the program can´t find the datasources that are existing and located on the right place “twain_32/subdir/”. 🙁

    I instantiate an Twain object “m_Twain”.

    After this i do:

    sts = m_Twain.DatParent(TWAIN.DG.CONTROL, TWAIN.MSG.OPENDSM, ref hwnd);

    sts = m_Twain.DatIdentity(TWAIN.DG.CONTROL, TWAIN.MSG.GETFIRST, ref default_driver);

    After this it returns an NODS(no datasource).
    I can´t get the first and the next neither.

    sts = m_Twain.DatIdentity(TWAIN.DG.CONTROL, TWAIN.MSG.GETNEXT, ref default_driver);

    I know the data sources are in the right directory and accessible, because i can access them with other twaintools, like TWAINCSTools – I can´t figure out why it´s working in the tool and alone it´s dont. 😥

    Please help me to find the problem and to get rid of it. 🙂

    Best regards,

    DonkeyKong

    December 2, 2014 at 6:08 pm #26177 Reply
    MarkM
    Participant
    • Topics - 1
    • Replies - 135
    • Total Posts - 136

    Make sure that your project is set to create x86 binaries. C# usually outputs AnyCPU by default, which will result in a 64-bit binary image on a 64-bit OS (and a 32-bit on a 32-bit OS). Most TWAIN drivers are still 32-bit…

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: NODS – No Datasources found
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.