The Dtdrv Project

Dtdrv is the Delphi 4 version of the Tdrv test program. See Testing with Tdrv for details on Dtdrv's features and operation.

Dtdrv is distributed as a complete Delphi 4 project consisting of the following files:

Dtdrv Project Files
Dtdrv.dpr Program entry point.
Dtdrv.dof
Dtdrv.cfg
Dtdrv.res
Delphi 4 project files.
Dtdrv.pas
Dtdrv.dfm
Main Dtdrv form.
DtdrvAbout.pas
DtdrvAbout.dfm
About Dtdrv form.
DtdrvTdat.pas
DtdrvTdat.dfm
Test data form.
DtdrvText.pas
DtdrvText.dfm
Text box form.
Hex.pas Hex format and byte conversion routines.
Statistics.pas Statstics formatting routines.
Status.pas Status Report formatting routines.
Tdat.pas Test data frame handling routines.
Using.pas Using Dtdrv text access routine.
Vtx.pas Verified transmission (Vtx) frame handling routines.

The Dtdrv project also uses Laygo.pas and X21bis.pas.

Just double-click Dtdrv.dpr to load the project into Delphi 4. Dtdrv.dpr contains the program Dtdrv; directive where program execution begins.

By default, the Dtdrv project contains the command-line arguments:

stack6.cfg x21loop.cfg

This instructs Dtdrv to use the LayGO hardware emulation driver in loopback mode. You can change which configuration files are loaded by editing the Parameters field on the Local property sheet in Delphi 4's Project → Parameters... dialog.