[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Twain vs. CodeGear Delphi 2009

Posted on 2009-04-14
2
Medium Priority
?
2,162 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
Suggested Courses

656 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