For the purposes of support it is important that all the files issued as part of an application should have a readily identifiable version.
DP4 provides several facilities that allow you to add and view version information in a consistent way across all your C/C++ programs and the standard DP4 components:
You can use the KENTCURS utility to add version information to executables and many other file types such as batch files.
You can use the PROGDATE utility to view and save to file program version information.
From release 4.621 DP4 includes a batch file named DP4VER.BAT that will quickly display the version information for all installed DP4 executable files. The information is saved in a file named version.prn. If you require support from Itim Technology Solutions on a DP4 related problem, sending this file as part of the problem report will often help get your problem resolved more quickly. The contents of DP4VER.BAT are shown below:
dir /a-d /b >xx *.exe *.dll *.w32 del version.prn progdate -full -read xx -file .\version.prn view version.prn
DP4 version information can often be determined in other ways as well:
from 4.620, if DP4 error logging is turned on, and the debug_version is 1, the DP4 version of all components in use is written to the errog log window and the debug.out file. Earlier releases of DP4 also report some version information, but this is not reliable.
On most version of Microsoft Windows, you can check the version information of Windows DP4 Executables by right clicking on the file in Explorer and choosing Properties. The Version Tab will display the DP4 version information.