Paradox Community
Search:

 Welcome |  What is Paradox |  Paradox Folk |  Paradox Solutions |
 Interactive Paradox |  Paradox Programming |  Internet/Intranet Development |
 Support Options |  Classified Ads |  Wish List |  Submissions 


Paradox Programming Articles  |  Beyond Help Articles  |  Tips & Tricks Articles  


TWAIN Support in ObjectPAL®
Series Content, Definitions and Requirements
© 2001 Paul Cronk

Definitions
Requirements
Introduction
What is TWAIN and TWAIN support?
What are the benefits of TWAIN support?
TWAIN Support Overview
Checking for TWAIN Support
Opening a Session
Default Sources
Showing the Select Source Dialog
Enumerating Data Sources
Setting the source for a session
Getting the source for the session
Getting the number of sources
Acquiring Images
Function Reference
Sample Projects
Picture Saver
Picture Saver Startup Script
Picture Saver Dialog
Add Picture Dialog
Select Source Dialog
Advanced Techniques
Saving the Application Default Source
Handling Graphics
Setting the System Default Source
Caveats with TWAIN support in ObjectPAL
Where can I find more information about TWAIN?

Definitions
TWAIN-compliant data source
an acquisition source that complies with the TWAIN protocol.

source manager
a middle-ware that communicates between applications and TWAIN-compliant data sources.

TWAIN session
a state where a TWAIN variable has established a connection with the source manager. This process is known as 'Opening a TWAIN session'.

acquiring
the act of transmitting an image from the data source to the application.

Requirements
TWAIN support was added to Paradox in version 9, Service Pack 1. ObjectPAL support for TWAIN came later in version 10.
  • You must be running Paradox 10 (or later).
  • The file pxtwn32.dll must be located in the same directory as pdxwin32.exe
  • The file twain_32.dll must be present in your operating system directory (c:\winnt, c:\windows)
  • At least one TWAIN-complaint data source installed on the machine.


Discussion of this article


 Feedback |  Paradox Day |  Who Uses Paradox |  I Use Paradox |  Downloads 


 The information provided on this Web site is not in any way sponsored or endorsed by Corel Corporation.
 Paradox is a registered trademark of Corel Corporation.


 Modified: 09 Jun 2004
 Terms of Use / Legal Disclaimer


 Copyright © 2001- 2004 Paradox Community. All rights reserved. 
 Company and product names are trademarks or registered trademarks of their respective companies. 
 Authors hold the copyrights to their own works. Please contact the author of any article for details.