The dviout source code is publicly available along with the executables.
Visual C Ver.5.0 or Ver.6.0 is used to create the executable file dviout.exe. If this C compiler is properly installed, dviout.exe can be created as follows.
1. Set the environment so that the compiler in command version can work properly.
2. Extract the dviout source files in an appropriate directory.
3. The directory where the source is expanded is set as the current directory. When the following command is executed in the MS-DOS prompt window, dviout.exe is created.
nmake /f makefile.vc
If C++ Builder 4.0 is used in place of VC, execute
make -fmakefile.cpb
dviout.exe can be created by Borland C 5.01J or Visual C Ver.4.0. If Borland C is used, then the line
BC5=C:\BC5
at beginning of the makefile should be changed to the directory where Borland C is installed and one executes the command make at the directory where the source files are expanded. A similar change may be necessary also in case of using C++ Builder.
The help file is generated using MakeHelP from dvioute.mhp. Use hcw.exe for the help compiler. (hc31.exe generates errors.)
Note 1. The file dvioute.cnt in the distribution package is a hand-modified version of what MakeHelP generates. Be aware that when MakeHelP is executed, dviout.cnt is overwritten.
Note 2. If you distribute a modified version of dviout.exe, make sure to state clearly that it is not the original Distribution. If the definition of the VERSION_NO of version.h is rewritten, the display by "Help -> About dviout" also changes. The strings in the dialog of IDD_ABOUTDIALOG in dviout.rc can be appropriately modified.