If the developers of the application for which you are providing context-sensitive help use HH_HELP_CONTEXT and specify topics by ID number, ask them for the file that maps symbolic IDs to numeric IDs. (You cannot go directly from numbers to files; you have to go through the symbolic names used in the map and alias files.) For C or C++, the map file is usually named resource.h, and contains entries such as the following:
#define IDH_Export 1090 #define IDH_CnvDsgnr 1080
The map file must be named in the [MAP] section of your .hhp file, and must be located in or below the directory that contains your .hhp file. For example:
[MAP] #include "resource.h"
Quotes are required around each #included file name.
Instead of editing the [MAP] section of your .hhp file, you can provide the file name in a configuration setting:
[MSHtmlHelpOptions] ; CshMapFile = name of file to #include in .hhp [MAP] for CSH support CshMapFile=resource.h
This way you will not lose the information if DITA2Go rewrites the .hhp file. However, if you need to reference more than one map file, you must specify any additional map files in the .hhp file, and you must prevent DITA2Go from rewriting the .hhp file. See §18.3.8 Regenerating the HTML Help project file.