Hello, I have a problem migrating a CodeTyphon scanner application to Lazarus.
The problem occurs when communicating between DelphiTwain and the scanner driver.
DelphiTwain got here, compatible with the lazarus:
http://www.kluug.net/delphitwain.phpThe scanner is the Kodak i1210.
In CodeTyphon 6.0, the scanner call normally occurs, and the following window attached appears and
everything works fine.
I tried some versions of Lazarus, with exactly the same program, and
the window does not appear and does not present an error.
The versions I tested are:
Lazarus 1.8 + fpc 3.11;
Lazarus 1.6.4 + fpc 3.0.2;
Lazarus 1.9 + fpc 3.11.
To simulate the error you can use the example program that comes with DelphiTwain in the folder:
DelphiTwain \ examples \ Lazarus
It should be something specific with the Kodak twain driver. Using the TWAIN 2 Sample Data Source emulator (
https://sourceforge.net/projects/twain-samples/files/?source=navbar) the Lazarus versions work.
I do not know how to make the kodak driver work for Lazarus.
(using google translator)