## Using Your DDK

[prev][next][parent][TOC]

### Pen for OS/2 Test Tool and Calibration Tool

Tools Description:

The Pen for OS/2 Test Tool is a diagnostic program that extracts the trace buffer and generates IOCtls. It provides a means to control and query all aspects of the pen device driver and assists in program development and in debugging the pen device driver.

The Pen for OS/2 Calibration Tool provides alignment adjustments for the position of the digitizer in relation to the display panel. It aligns the location of the pointer seen on the display to the same location where the actual pen device touches the display.

These tools also require the Pen for OS/2 Developer's Toolkit, available separately from IBM.

Compilers/Assemblers Required:

         IBM C Set ++ V2.01

Build Instructions:

1.Set the environment variables so the correct tools are picked up during the build.

    e.g., SET PATH=<drive>:\DDK\TOOLS;%PATH%

Where <drive> represents your DDK installed drive and DDK represents the DDK installed directory. On the CD-ROM, the TOOLS directory path is DDK\ TOOLS.

2.Make sure the Pen for OS/2 Developer's Toolkit is installed and the environment variables are correctly set.

3.Make sure the IBM C Set ++ V2.01 compiler is installed and the environment variables are correctly set.

To build the Pen for OS/2 Calibration Tool:

4.Change the directory to DDK\BASE\SRC\PEN\PENTKT\UTIL\PENCAL.

5.Invoke NMAKE on the PENCAL.MAK makefile. For example:

      NMAKE -f PENCAL.MAK

To build the Pen for OS/2 Test Tool:

6.Change the directory to DDK\BASE\SRC\PEN\PENTKT\UTIL\PENTL.

7.Invoke NMAKE on the PENTL.MAK makefile. For example:

      NMAKE -f PENTL.MAK

Build Notes:

The makefiles should be run in the following order:

         <drive>:\DDK\BASE\SRC\PEN\PENTKT\UTIL\PENCAL
         <drive>:\DDK\BASE\SRC\PEN\PENTKT\UTIL\PENTL

Files Created by Successful Build:

         Pen for OS/2 Calibration Tool:
         Directory:  \DDK\BASE\SRC\PEN\PENTKT\UTIL\PENCAL

         o  CAL.EXE

         Pen for OS/2 Test Tool:
         Directory:  \DDK\BASE\SRC\PEN\PENTKT\UTIL\PENTL

         o  PENTL.EXE