Help and Support

Article ID: 267962 - Last Review: April 11, 2001 - Revision: 1.0

BUG: HTMLHelp() Opens the Wrong Help File

This article was previously published under Q267962
Expand all | Collapse all

SYMPTOMS

When you call the HTMLHelp function to open a specific Help file, a different Help file is displayed. For example, if you call HTMLHelp to open a Help file named HelpMe.chm, when you call HTMLHelp to open a Help file named Help.chm (while HelpMe.chm is still open), HelpMe.chm is displayed, and no error occurs.

CAUSE

This problem occurs when the name of Help file is derived from another Help file that is already open.

RESOLUTION

To work around this problem, name the application's Help files so that any combination of characters prepended to a Help file name do not collide with another Help file name.

STATUS

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

MORE INFORMATION

Using HelpMe.chm as an example, you encounter the same problem when you attempt to open any of the following files while HelpMe.chm is open:
  • Elpme.chm
  • Lpme.chm
  • Pme.chm
  • Me.chm
  • E.chm

APPLIES TO
  • Microsoft HTML Help 1.2
  • Microsoft HTML Help 1.21
  • Microsoft HTML Help 1.22
  • Microsoft HTML Help 1.3
Keywords: 
kbapi kbbug kbpending KB267962
Retired KB ArticleRetired KB Content Disclaimer
This article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.

Article Translations