See also: getting started, properties, methods, events, removal
Deploy EZTwainX in an application
Important Note: EZTwainX is no longer sold or licensed by Dosadi or Atalasoft. Contact Atalasoft Sales to discuss alternatives.
To deploy EZTwainX on a Web Page, see EZTwainX Web Deployment.
Iinstall the EZTwainX developer toolkit.
(Download links are on the EZTwainX main page.)
Incorporate the EZTwainX control into your application (see getting started) and add programming to use its methods, properties and events.
Once you run EZTwainX on your system the first time, you have approximately
30 days until the trial license expires on that machine. If the
trial license is about to expire, send e-mail to Dosadi
Support and ask us for an EZTwainX trial license renewal
code.
When your application is ready to be deployed, you will probably want to create some kind of distribution package or installer. Many developers use various Microsoft tools included with their development system, or one of the Wise Solutions or InstallShield products. If you are looking for a low-cost install tool, Dosadi recommends Inno Setup or the nullsoft .
Once you have chosen an install tool and configured it to install the other parts of your application, it is time to add the EZTwainX components. Find the EZTwainX install folder on your system - by \Program Files\EZTwainX.
The following table lists redistributable files that comprise EZTwainX, and when you should include them in your distribution package. All EZTwainX files you distribute should be placed together in the same
Executable File | When and how to include in your application |
EZTwainX.ocx |
Always. This file is the EZTwainX control itself. This file can be placed anywhere on the target system. It must be registered after installation so that applications can find and use it. Most installation/setup packages will provide an easy way to do this. For more details, here is a Microsoft technical page on ActiveX control registration. |
EZCurl.dll |
Required only if you use the Internet transfer features of EZTwainX, such as UploadToURL. |
EZDcx.dll |
Required only if you read or write files in .dcx format (rare!). |
EZGif.dll | Required only if you read or write files in GIF (.gif) format. |
EZJpeg.dll | Required if you read or write files in JPEG (.jpg), TIFF, or PDF formats. |
EZPdf.dll | Required only if you read or write files in PDF format. |
EZPng.dll | Required only if you read or write files in PNG format. |
EZSymbol.dll | Required only if you use the barcode features of EZTwainX, such as BarcodeCount or BarcodeText. |
EZTiff.dll | Required only if you read or write files in TIFF format. |
Your software can validate the EZTwainX configuration in several ways: The property Version can be used to check for the minimum version of EZTwainX. Properties JpegAvailable, PdfAvailable, TiffAvailable, etc. will be True only if the necessary DLLs are present and can be loaded. Other useful properties may have been added since this was written.