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

Twain-app does not work anymore Win98->XP

Forums › TWAIN Classic › Twain-app does not work anymore Win98->XP

  • This topic has 1 reply, 1 voice, and was last updated 13 years, 4 months ago by Sektionschef.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • November 15, 2007 at 12:49 pm #22242 Reply
    Sektionschef
    Participant
    • Topics - 2
    • Replies - 1
    • Total Posts - 3

    Dear all
    Many years ago I wrote a sw in plain VB code(no external control) which has implemented communication to a scanner via Twain Interface.
    At this time the used OS was Windows 98. The application was running fine since present.
    Now, I have moved this app onto a WindowsXP system and the app is not working anymore.
    Strange thigs are happening like:
    I negotiate a certain capability, sometimes the scanner accepts it, sometimes the negotiation fails. Once it fails then any further negoition fails until I restart the app. In addition every negotiation fails when running the compiled exe while most negotiations work while running the sw in the IDE. Opening the DSM and DS always works without any problems.
    I haven’t worked out yet what capabilies exactly fail to negotiate(I think one is XFERMECH) but does anyone know why there is such a difference between Win98 and XP?
    Do I need to modify the way how I use the Win32 API in my program?
    Regards
    Sektionschef

    November 19, 2007 at 7:03 am #24171 Reply
    Sektionschef
    Participant
    • Topics - 2
    • Replies - 1
    • Total Posts - 3

    Hi
    I made some further investigations and found out that I got a TW_Failure result code when I set a certain capability. However, the scanner SETS the capability correctly but returns TW_Failure. This happens only in WinXP while I always get a TW_Success in Win98.
    Querying the capabilities does not show the problem, I always get a TW_Success regardless what OS I am using.
    Any ideas what maight be wrong here?
    Regards
    Sektionschef

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Twain-app does not work anymore Win98->XP
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

  • 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
  • Changing TWAIN driver defaults
  • 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.