The CppTdrv Project

CppTdrv is the C++ Wrapper version of the Tdrv test program. See Testing with Tdrv for details on CppTdrv's features and operation.

CppTdrv is distributed as a complete Microsoft Visual C++ MFC project consisting of the following files:

CppTdrv Project Files
CppTdrv.h
CppTdrv.cpp
MainFrm.h
MainFrm.cpp
StdAfx.h
StdAfx.cpp
Resource.h
CppTdrv application.
CppTdrv.aps
CppTdrv.clw
CppTdrv.dsp
CppTdrv.dsw
CppTdrv.dsp
CppTdrv.ncb
CppTdrv.opt
MSVC project files.
TdrvView.h
TdrvView.cpp
CppTdrv display module.
TdrvDoc.h
TdrvDoc.cpp
CppTdrv processing module.
TdatDialog.h
TdatDialog.cpp
Test data display module.
CTdat.h Test data frame handling.
CVtx.h Verified transmission frame handling.

The CppTdrv project also uses include files in the cpp\inc directory.

Just double-click CppTdrv.dsw to load the project into Microsoft Visual Studio. CppTdrv.cpp contains the CCppTdrvApp::InitInstance() method where program execution begins.

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

-std cpptdrv6.cfg

This instructs CppTdrv to use the LayGO hardware emulation driver in loopback mode. You can change which configuration files are loaded by editing the Program arguments field on the Debug property sheet in Visual Studio's Project → Settings... dialog.