Source for macros.hpp for Part 6
This document shows sample contents of macros.hpp if
you are starting the tutorial in Part 6.
Managing Configuration Files through Part
8. Defining the View Function for Reviewers.
#define WebRoot IString("f:\\vatutor\\htmldocs")
#define slash IString("\\")
#define UserFilepath IString("f:\\vatutor\\users.dat")
#define EXE IString("review.exe")
You may need to make the following changes to this file:
- Change the directory specified by WebRoot to
point to the path where you will place HTML files that
are to be accessed by the review tool.
- Change the path specified by UserFilepath to
point to a user data file, which should contain the
following flat text:
reader 1
reviewer 2
author 3
- If you are running AIX redefine the slash macro to IString("/")
instead of IString("\\"),
and redefine the EXE macro to IString("review.cgi")
instead of IString("review.exe").