RESTOOL: MS-DOS(R) Tool that Uses Windows(TM) Resources

RESTOOL is a simple MS-DOS(R) application that reads a Microsoft(R) Windows(TM) compiled resource (.RES) file and generates C++ class declarations for any dialog boxes found in the resource file. This allows you to quickly put together Microsoft Foundation Class (MFC) CDialog-derived classes that manipulate dialog boxes you already use in existing applications.

RESTOOL uses some heuristics that are not universally applicable, so you should review RESTOOL output before using the application. You must put the generated code into a proper C++ header file.

The RESTOOL source code illustrates the following concepts:

Using MFC libraries to write a non-Windows-based application

Microsoft Windows resource file format

RESTOOL requires special MFC libraries and include files; see the "MFC Libraries" and "MFC Include Files" abstracts to copy these files to your development system. RESTOOL uses the following libraries: MLIBCE.LIB (MS-DOS C runtime library), and either MAFXCR.LIB (MFC medium-model MS-DOS retail library) or MAFXCRD.LIB (MFC medium-model MS-DOS debug library).

To build this application, you must have Microsoft C/C++ version 7.0 installed on your system.

{ewc navigate.dll, ewbutton, /Bcodeview /T"Click to open or copy files in the restool project." /C"samples}