Help and Support

BUG: HTMLHelp() Opens the Wrong Help File

Article ID:267962
Last Review:April 11, 2001
Revision:1.0
This article was previously published under Q267962

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.

Back to the top

CAUSE

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

Back to the top

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.

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

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

Back to the top


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

Back to the top

Keywords: 
kbapi kbbug kbpending KB267962

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.