Article ID: 235258 - Last Review: October 16, 2002 - Revision: 1.0 BUG: API Return Code Is Inconsistent in HTML HelpThis 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.
STATUSMicrosoft 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
| Article Translations
|

Back to the top
