Microsoft KB Archive/235258

= BUG: API Return Code Is Inconsistent in HTML Help =

Article ID: 235258

Article Last Modified on 10/16/2002

-

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

-



This article was previously published under Q235258



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.

Keywords: kbbug kbapi KB235258

-

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

© Microsoft Corporation. All rights reserved.