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

Why my select source dialog interface shows French

Forums › TWAIN Classic › Why my select source dialog interface shows French

  • This topic has 1 reply, 2 voices, and was last updated 7 years, 10 months ago by spike.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • March 7, 2013 at 10:44 pm #22831 Reply
    zhaoxw
    Participant
    • Topics - 1
    • Replies - 0
    • Total Posts - 1

    My computer is running English windows 8, but the select source dialog shows me French. Why? And how can I fix it?

    March 12, 2013 at 7:58 pm #25835 Reply
    spike
    Participant
    • Topics - 10
    • Replies - 139
    • Total Posts - 149

    Well that’s interesting 8)
    So… the Select Source dialog is displayed by the Data Source Manager, or DSM. This is the common module of TWAIN, made available by the TWAIN Working Group.

    There are several versions of the DSM, in particular the older twain_32.dll and the newer TWAINDSM.dll. The TWAINDSM.dll comes in both a 32-bit and 64-bit version.
    Are you a developer, and if so which programming language are you working in?
    (It wouldn’t be WinDEV, by any chance?)
    And which Data Source Manager are you loading and using?

    The newer TWAINDSM.dll will look first in the Application Identity structure that you pass as the first parameter to DSM_Entry when you display the Select Source dialog. (the DG_GROUP/DAT_IDENTITY/DSM_USERSELECT triplet.)
    The language for the dialog is based on the Version.Language field of the Application Identity structure. (See the TWAIN spec for details, and twain.h for language constants.)
    If Version.Language specifies a language, the DSM will try to use that that language, if it supports it.
    If Version.Language = TWLG_USERLOCALE (= -1) then the DSM will query the Windows API function ‘GetUserDefaultLangID’ and try to use that language.
    If the language determined this way is not supported by the DSM (e.g. Arabic) then the DSM falls back to English.

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Why my select source dialog interface shows French
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

  • EPSON V600 TWAIN and WIA on Windows 10
  • When and how to use WaitForEvents command ?
  • Problem enumerating list of installed scanners in windows server 2012
  • Failed to create TWAIN progress! Error code is 1260.
  • To get the list of scanners from javascript client side (browser)
  • 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.