EZTwain Pro 3.0 - Using from PowerBuilder


Overview  Download  Licensing  Features  Code Wizard  Stories  User GuidePDF file

The EZTwain Pro 3 toolkit includes a file of PowerScript external function declarations (eztwain.txt) translated automatically from the eztwain.h C/C++ header file. Download and install the developer kit if you have not already, and look under \Program Files\EZTwain\PowerBuilder.

Note: If you experience run-time errors when calling certain EZTwain functions, check the declaration of the function. When we first added support for PowerBuilder, functions with string parameters or return values were incorrectly declared with an 'ALIAS' clause - simply remove the ALIAS clause and the function call should work.

EZTwain Pro 3 installs all its DLLs into the Windows System folder, which should be sufficient to make them automatically accessible from your programs.

Rolf André Klaedtke of RAK Software has written a nice article introducing TWAIN and showing how to use our free 'Classic' EZTwain from PowerBuilder. The article is in the archived Issue 7/1 of PowerTimes. Note - the sample code with that article should work with EZTwain Pro simply by changing the DLL name from eztw32.dll to Eztwain3.dll.

We strongly recommend starting with a single basic call to EZTwain (TWAIN_Testing123 or TWAIN_AcquireToFilename) - testing that, and adding additional calls one-by-one as needed, to reach the desired behavior. EZTwain is designed to be used in exactly this way.

If you wish to redistribute the EZTwain Pro DLLs with an application, or within an organization, see the EZTwain Pro Licensing Page.

Please contact Dosadi technical support if you encounter any problems using EZTwain Pro 3. We are committed to resolving such problems promptly.