Help and Support

BUG: Tabs in .H File Cause Compiler Error HHC4014 in HTML Help

Article ID:235055
Last Review:October 16, 2002
Revision:1.0
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:

Back to the top

CAUSE

This is caused by characters in the include (.h) file that are not recognized by the compiler, such as tab characters.

Back to the top

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.

Back to the top

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

Back to the top

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.

Back to the top


APPLIES TO
Microsoft HTML Help 1.1
Microsoft HTML Help 1.2
Microsoft HTML Help 1.21
Microsoft HTML Help 1.3

Back to the top

Keywords: 
kbbug kbcompiler kbpending KB235055

Back to the top

Article Translations

 

Other Support Options

  • Contact Microsoft
    Phone Numbers, Support Options and Pricing, Online Help, and more.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.