Data Access Visual Sample - Common Source Directory

The Common Source directory contains the source code for the Data Access Builder visual sample that is common for all database access methods (DB2 CLI, DB2 ESQL, or ODBC). The following files are provided:

File Names Description
DeptForm.cpp, DeptWind.cpp, EmplForm.cpp, EmplWind.cpp, VisSamp.cpp Class implementations for parts of the sample
DeptForm.hpp, DeptWind.hpp, EmplForm.hpp, EmplWind.hpp, VisSamp.hpp Class declarations for parts of the sample
DeptForm.h, DeptWind.h, EmplForm.h, EmplWind.h, VisSamp.h Constant declarations for the classes
DeptForm.rci, DeptWind.rci, EmplForm.rci, EmplWind.rci, VisSamp.rci Resource include files for the classes
DeptWind.vbf, EmplWind.vbf, VisSamp.vbf Visual Builder part file for visual parts of the sample.
VisSamp.app Main program stub for the sample.
VisSamp.rc Main resource file for the sample.
exeopt.icc Common configuration file for the visual sample.

Other files associated with the visual sample are different for each database access method. These files are contained in directories named after the access methods (Expand "DB2 CLI Versions," DB2 ESQL Versions," or "dBase ODBC Versions" to access the files in these directories).