Article ID: 189453
Article Last Modified on 7/2/2007
188444 BUG: Editing MAP or ALIAS in the HTML Help Workshop Causes Error
[ALIAS] IDH_FILE_NEW = newfile.htm IDH_FILE_OPEN = openfile.htm IDH_FILE_SAVE = htm\savefile.htmThe purpose of the [ALIAS] section is to associate .htm files with constants. The constants are not defined in the [ALIAS] section (see the following step 2). The constants should not be numbers. For example, the following statement in the [ALIAS] section is not valid:
5 = newfile.htm
NOTE: If an .htm file is in a subfolder, the name of the subfolder should
be included. See IDH_FILE_SAVE in the above [ALIAS] section.
[MAP] #define IDH_FILE_NEW 1 #define IDH_FILE_OPEN 2 #define IDH_FILE_SAVE 3NOTE: If the application that will use the Help files is written using Visual C++ the [MAP] section can also appear as follows:
[MAP] #include "context.h"In this case, the file Context.h contains the following define statements:
#define IDH_FILE_NEW 1 #define IDH_FILE_OPEN 2 #define IDH_FILE_SAVE 3
189086 How To Create Context-Sensitive HTML Help in a Visual Basic App
191118 How To Create Context-Sensitive HTML Help in an MFC Application
Keywords: kbhowto KB189453