BUG: Tabs in .H File Cause Compiler Error HHC4014 in HTML Help
This article was previously published under Q235055 SYMPTOMS
When you compile an HTML Help project, you may receive the following HTML Help compiler warning:
HHC4014: Warning: The following map definition has an invalid context id:
CAUSE
This is caused by characters in the include (.h) file that are not recognized by the compiler, such as tab characters.
RESOLUTION
Edit the include file so that there is exactly one space between each #define statement and what it is defining. Do not use tab characters.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article. MORE INFORMATION
When you create an HTML Help project with context IDs, it is possible to put the context ID's in a separate include (.h) file and include the file by specifying it in the [MAP] section of the project. In this file, there must be exactly one space between the #define statement and the defined constant, and you cannot use tabs.
#define ID_HELP_ID 100 // Main Help ID
You can use tabs elsewhere in the file.
APPLIES TO
| Article Translations
|
Back to the top
