Solved

Twain vs. CodeGear Delphi 2009

Posted on 2009-04-14
2
2,146 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

688 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