|
Scdtest |
|
Example Name: scdtest Language: C API type: Shared Library API component filename: scd3.dll
Environment: Windows |
|
What does it do? |
|
Illustrates the correct sequence of function calls to run a sortcode job based on an existing jobfile.
|
|
Could be used as a
starting point for: |
|
An integrated Sortcode solution that uses C code to run a sortation job.
|
|
Where to find the
example code: |
|
After running the setup from the CD to install the API you
will find the example code installed (by default) in: C:\Program Files\Capscan\SDK\Sortcode 3
API\Static & DLL\Examples\scdtest If you have installed to another location you will need to
change the path where necessary.
|
|
What each file does: |
|
File
name What does it do? Scdtest.c
The C source for the example. scdapi.h Sortcode API header file. Scd3.dll
The Sortcode Dynamic Library Scddemo.csv the
input datafile for the demo sortation
job Examples.sln Developer
Studio 2008 project file. |
|
API functions used: |
|
This example demonstrates correct use of these functions: SCD_Init() SCD_Presortation() SCD_Sortation() SCD_GetErrorMessage() SCD_Exit()
|
|
Notes: |
|
You will need a valid licence file (.lic) in order to obtain a usable sorted output file. Without a licence file the product will run
in demo mode and the output address fields will be blanked out.
|