Using Padcom; Implementation; Compiling And Linking - Hand Held Products PadCom TT1500 User Manual

Point-of-sale terminal control library
Table of Contents

Advertisement

Illustration of two pen strokes:
4,1
Move to 4,1
begin first stroke

Using PadCom

PadCom provides an interface that can be fully customized to Transaction Team pads. An operating system-dependent set
of libraries are provided which use the most popular compilers to support a wide variety of development needs. For example,
for the Windows 3.x operating system, a separate set of three libraries is compiled using Borland C++ and Microsoft
®
C++
compilers. In addition to this, various memory models and thread support is provided wherever applicable.
PadCom consists of statically linked libraries. This means that the application development needs to be carried out in the
following stages:

Implementation

Before proceeding with the design specifications, it is recommended that you study the functionality supported by the chosen
Transaction Team device. A complete list of functions exposed by PadCom is provided in the Library Reference beginning
on page 2-1.
See Sample Source Code beginning on page 5-1 for an example of how to use the PadCom library and the exposed API
functions. The same sample source code is also provided as a part of the sample application code installed with the SDK
components. These samples are intended for demo purposes only and do not necessarily perform useful tasks. However,
they provide a basis on which you can build complex and meaningful Point Of Sale (POS) applications.

Compiling and Linking

Compiling and linking your application involves selecting the appropriate libraries and choosing the correct build environment
on the compiler of your choice. As mentioned before, a complete operating system and compiler-dependent solution is
available for your use. The libraries are named using a standard naming convention.
For MS-DOS
®
padcomds.lib padcomdm.lib and padcomdl.lib are available to support the small, medium and the large memory models.
For Microsoft
®
Windows
padcomws.lib padcomwm.lib and padcomwl.lib are available to support the small, medium and the large memory models.
4,4
Line to 4,4
continue first stroke
®
3.x
3,2
Move to 3,2
Line to 5,2
begin a new stroke
continue new stroke
5,2
®
Visual
1 - 3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Padcom tt3100 series

Table of Contents