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 and unicode

Forums › TWAIN Classic › twain and unicode

  • This topic has 8 replies, 2 voices, and was last updated 13 years, 5 months ago by mato.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • July 12, 2007 at 4:04 pm #22171 Reply
    mato
    Participant
    • Topics - 1
    • Replies - 4
    • Total Posts - 5

    Hello everybody,

    does TWAIN work with unicode applications? Because I have one unicode apps working with TWAIN and it seems that TWAIN does not send me any messages (scanning process does not responde).

    thanks for your answers
    mato

    July 12, 2007 at 4:43 pm #23910 Reply
    gabe
    Participant
    • Topics - 9
    • Replies - 583
    • Total Posts - 592

    yes

    July 17, 2007 at 10:48 am #23911 Reply
    mato
    Participant
    • Topics - 1
    • Replies - 4
    • Total Posts - 5

    have you any idea why twain does not send me any message? apps is compiled with unicode.

    July 17, 2007 at 12:23 pm #23912 Reply
    gabe
    Participant
    • Topics - 9
    • Replies - 583
    • Total Posts - 592

    nope, I have no idea why you’re not getting any messages – I would hazard that it has something to do with your messageloop but without code there really isn’t any way for me to know. Feel free to describe in more detail how where when you don’t get messages or post some code.
    Unicode is the thing after the last thing that I would suspect.

    .

    July 17, 2007 at 12:44 pm #23913 Reply
    mato
    Participant
    • Topics - 1
    • Replies - 4
    • Total Posts - 5

    I attached link source project which I found on codeproject.com. I changed configuration of this project from multibyte to unicode. With this configuration twain does not send any message to the program. Behaviour is same as in my own project. I mean this is bug in TWAIN.

    link to changed project for supporting of unicode (http://borg.sk/twain.zip).

    thanks

    July 17, 2007 at 12:45 pm #23914 Reply
    gabe
    Participant
    • Topics - 9
    • Replies - 583
    • Total Posts - 592

    where on codeproject?

    July 17, 2007 at 12:48 pm #23915 Reply
    mato
    Participant
    • Topics - 1
    • Replies - 4
    • Total Posts - 5

    original project is here: http://www.codeproject.com/audio/twaintest.asp

    I changed some details for support of unicode. If unicode is set, twain failed.
    New project is at (with unicode support) at http://borg.sk/twain.zip

    July 17, 2007 at 5:52 pm #23916 Reply
    gabe
    Participant
    • Topics - 9
    • Replies - 583
    • Total Posts - 592

    ok, I’ve loaded your project and I am able to select a source and acquire and I get the expected result and I’m compiling with unicode .. where are you having trouble?

    .

    August 7, 2007 at 10:00 am #23917 Reply
    mato
    Participant
    • Topics - 1
    • Replies - 4
    • Total Posts - 5

    @gabe wrote:

    ok, I’ve loaded your project and I am able to select a source and acquire and I get the expected result and I’m compiling with unicode .. where are you having trouble?

    .

    i changed computer and it works fine. thanks for your reply

  • Author
    Posts
Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: twain and unicode
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

  • Girls of Desire: All babes in one place, crazy, art
  • 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.
  • 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.