Solved

Twain vs. CodeGear Delphi 2009

Posted on 2009-04-14
2
2,133 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
Comment Utility
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
Comment Utility
Hi again. Sorry for the late answer. I ended up using a compnent called MHTWAIN, which works fine.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to synchronize PHP projects with a remote server in NetBeans IDE 8.0 for Windows.

771 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