Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2013-05

libSANE.dll for winfows

4 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Howard Page-Clark
to amin ibrahime
amin ibrahime wrote 6 lines
Hi I try to uses scanner by lazarus application to multiplateform i found SANE "demomain" i compiled and run under liunx but when run under widows i need*libsane.dll * where i can find this dll or its pascle source code to compile and use

Scanning support on Windows is provided via the Windows Image Acquisition Library v2.0, which comes as standard with Vista, 7 and 8 (wiaaut.dll, which should be found in the \Windows\System32 folder). AFAIK the Sane packages are Linux only.

Curt Carpenter
to Howard Page-Clark

For older versions of windows, you might want to google TWAIN SDK. As I recall, it supports scanners.

Howard Page-Clark wrote 23 lines
On 28/05/2013 12:51, amin ibrahime wrote: > Hi > I try to uses scanner by lazarus application to multiplateform i found > SANE "demomain" > i compiled and run under liunx but when run under widows i > need*libsane.dll * > where i can find this dll or its pascle source code to compile and use Scanning support on Windows is provided via the Windows Image Acquisition Library v2.0, which comes as standard with Vista, 7 and 8 (wiaaut.dll, which should be found in the \Windows\System32 folder). AFAIK the Sane packages are Linux only. -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Mark Morgan Lloyd
to Howard Page-Clark: Scanning support on Windows is provided via the Windows Image Acquisition Library v2.0,…
Howard Page-Clark wrote 12 lines
On 28/05/2013 12:51, amin ibrahime wrote: > Hi > I try to uses scanner by lazarus application to multiplateform i found > SANE "demomain" > i compiled and run under liunx but when run under widows i > need*libsane.dll * > where i can find this dll or its pascle source code to compile and use Scanning support on Windows is provided via the Windows Image Acquisition Library v2.0, which comes as standard with Vista, 7 and 8 (wiaaut.dll, which should be found in the \Windows\System32 folder). AFAIK the Sane packages are Linux only.

My first thought was to wonder whether libsane was purely for network comms, but it looks as though it's an interface to libusb-win32. However the thread below suggests that it might still be work-in-progress, and interfacing via Howard's suggestion (above) or via TWAIN (if the hardware is supported) might be preferable.
http://comments.gmane.org/gmane.comp.graphics.scanning.sane.devel/20482

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]