Help and Support

Article ID: 235258 - Last Review: October 16, 2002 - Revision: 1.0

BUG: API Return Code Is Inconsistent in HTML Help

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

SYMPTOMS

The HTML Help Application Programming Interface (API) does not always return NULL when it fails during an HH_DISPLAY_TOPIC command.

CAUSE

HTML Help uses Internet Explorer to display and access .chm files. If the HTML Help API fails due to the HTML Help control, a NULL will be returned. If the failure is due to Internet Explorer, a NULL will not necessarily be returned.

STATUS

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

MORE INFORMATION

An example of this inconsistency would be the creation of a window with a topic displayed in it. If creating the window fails, a NULL would be returned because this failure occurs in the HTML Help control. If navigating to the window fails, a non-NULL value would be returned because the creation of the window succeeded and the failure came from Internet Explorer.

APPLIES TO
  • Microsoft HTML Help 1.3
  • Microsoft HTML Help 1.0
  • Microsoft HTML Help 1.1
  • Microsoft HTML Help 1.2
  • Microsoft HTML Help 1.21
Keywords: 
kbapi kbbug KB235258
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