ok...
You must use MS compiler To use Twain library on windows because Twain library depends on DSM (Data Source Manager) library and i can't use mingw to built DSM library on windows but i can built it easy on linux.
i will use the already built library (TWAINDSM.dll) but i try many times to built TWAIN sample Data Source using src.pro and all attempts failed
I use Qt 4.5.2 with mingw, specifically i use this package
http://www.qtsoftware.com/downloads/sdk-windows-cpp
Please tell me if you know other library i can run it on linux and windows using mingw without change my source.
EDIT: i try google before and i get your result but this library did not work with mingw and QT4 and twain.h is very old![]()
Bookmarks