CHAPTER 9 DOLPHIN OS AND DEVELOPMENT SYSTEM
135
135135
135
Sample Applications
A number of sample programs with source code have been provided with your
Dolphin terminal. The sample programs are installed in the
c:\dolphin\devtools\samples directory on your desktop computer.
Application Description
GRAPH Draws various patterns on the Dolphin’s LCD display.
KBSTATUS Displays keystrokes. If the keystroke is non-printable, the hex
value of the keystroke is displayed.
LED Allows the red and green LEDs to be toggled
ONBHIT Displays status of the ON key.
SCAN Allows bar code scanning.
SIO Performs serial I/O. Displays characters received and sends
key strokes.
SOUND Runs through the frequency range of the Dolphin’s speaker.
NI Sample programs for the Numeric Dolphin. This sample is
located in the
C:\DOLPHIN\DEVTOOLS\NUMERIC\BORLAND or
C:\DOLPHIN\DEVTOOLS\NUMERIC\MSVC.
EVSDEMO Demonstrates graphics, changing fonts, turning the status line
on and off, adding new icons to the status line, and changing
the system cursor.
INV5 Sample inventory application with source code.
Building the Samples
There is one Microsoft Visual C\C++ version 1.52 project file, .mak, for each sample
application. There is also a Borland C++ version 5.0 project file, samples.ide. This
project file will rebuild all sample applications. Consult the documentation for your
compiler for information on the use of project files.