Solved

Twain vs. CodeGear Delphi 2009

Posted on 2009-04-14
2
2,137 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

In our object-oriented world the class is a minimal unit, a brick for constructing our applications. It is an abstraction and we know well how to use it. In well-designed software we are not usually interested in knowing how objects look in memory. …
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use and create new code templates in NetBeans IDE 8.0 for Windows.

895 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now