Microsoft KB Archive/235055

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

Article ID: 235055

Article Last Modified on 10/16/2002

-

APPLIES TO


 * Microsoft HTML Help 1.1
 * Microsoft HTML Help 1.2
 * Microsoft HTML Help 1.21
 * Microsoft HTML Help 1.3

-



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.



STATUS
Microsoft 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.


 * 1) define ID_HELP_ID 100 // Main Help ID

You can use tabs elsewhere in the file.

Additional query words: HHC4014

Keywords: kbbug kbpending kbcompiler KB235055

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.