Results 1 to 20 of 28

Thread: Qt4 and TWAIN scanning

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Sta. Eugènia de Berga (Vic - Barcelona - Spain)
    Posts
    869
    Thanks
    70
    Thanked 59 Times in 57 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Qt4 and TWAIN scanning

    Hi,
    I'm trying to use Qt4 to scan images using TWAIN on Windows.
    I have downloaded Qt TWAIN Package from http://www.cppfrance.com/codes/PACKA...AIN_46374.aspx and I'm modifing it to use Qt 4. The code was created by "Stephan Stapel" using Qt 3.

    I've attached the Visual Studio Solution into the zip file to get any help. I've deleted "qtwaininterface" and "qtwainsubstitute".

    The problem is that on "BOOL CTwain::ProcessMessage(MSG msg)" method, the line "if(GetRC() != TWRC_NOTDSEVENT)" always returns "TWRC_NOTDSEVENT" and so, the application never recives TWAIN messages.

    I would like to port this to Qt 4 for everyone to want to use it and I will send the final version to the author "Stephan Stapel".

    Thanks,
    Attached Files Attached Files
    Òscar Llarch i Galán

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.