Solved

Twain vs. CodeGear Delphi 2009

Posted on 2009-04-14
2
2,140 Views
Last Modified: 2013-11-23
I'm working with a project in CodeGear Delphi 2009. My goal is to get access to a TWAIN unit by using Gustavo Daud's DelphiTwain component (http://delphitwain.sourceforge.net). The problem is, that I can't make it work.

I've tried to download his example project (the one named "Full twain features").  It works fine, when running the precompiled exe file ("Example.exe"), I can choose my scanner in the "select source" dialog, and then control from the program. But when I try to open the project and compile it my self, there ain't any Twain units in the "Select source" dialog.

Anyone with experience in using this component in Delphi 2009 or an idea about what the problem could be? Or, if not, an idea of, how to make it work without this component (but still for free)?

Best regards
Mads
0
Comment
Question by:MADOlsen
2 Comments
 
LVL 18

Expert Comment

by:Johnjces
ID: 24159349
This is no answer by any means but just some information.

The latest date on that code is 2004. To even make it compile with 2009 could be a feat. Not certain if you got it compiled.

Anyway... A long time ago I experimented with his code in seeking a decent TWAIN component and got it to work on Delphi 5.

Do not waste your time. There were some things, like being able to use a document feeder, more than one sheet and multiple scans in a row, that just did not work.

Just for info I ended up using Multi-Twain which uses the EZTWAIN library. All this is old code and will take a bit of work to compile and run in D2009.

Just Google them and try them if interested.

John

0
 

Accepted Solution

by:
MADOlsen earned 0 total points
ID: 24293421
Hi again. Sorry for the late answer. I ended up using a compnent called MHTWAIN, which works fine.
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question