This article has been archived. It is offered "as is" and will no longer be updated.
Consider the following scenario:
You develop an application that hosts a Web Object Control (WebOC). The WebOC loads a Web page into this application.
You create a custom pop-up menu for this Web page by using the IHTMLWindow4::createPopup method.
Note The IHTMLWindow4::createPopup method enables you to open a pop-up menu when you right-click an area of a Web page.
You retrieve the HTML document for the custom pop-up menu by using the IHTMLPopup::document property.
You try to call the QueryInterface method for the ICustomDoc interface to point to the HTML document that you want to use for the custom pop-up menu.
In this scenario, you run the application on a computer that is running Internet Explorer 8. However, when you right-click an area of the Web page, the custom pop-up menu does not appear.If you try to debug this problem, the HRESULT 0x80004002 (E_NOINTERFACE) value is returned to the QueryInterface method. However, you expect the HRESULT 0x0 (S_OK) value to be returned to the QueryInterface method.
Security update information
To resolve this problem, install the most recent cumulative security update for Windows Internet Explorer. To do this, visit the following Microsoft Web site:
Note This update was first included in security update 974455 (MS09-054). For more information, click the following article number to view the article in the Microsoft Knowledge Base:
974455 MS09-054: Cumulative Security Update for Internet Explorer
A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.
To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.
To install this hotfix, you must have Internet Explorer 8 installed on a computer that is running one of the following operating systems:
Windows XP Service Pack 2 (SP2) or Windows XP Service Pack 3 (SP3)
Windows Server 2003 Service Pack 2 (SP2)
Windows Server 2008
You have to restart the computer after you apply this hotfix.
Hotfix replacement information
This hotfix does not replace a previously released hotfix.
To use one of the hotfixes in this package, you do not have to make any changes to the registry.
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
For all supported x86-based versions of Internet Explorer 8 for Windows XP SP2 and for Windows XP SP3
For all supported x86-based versions of Internet Explorer 8 for Windows Server 2003 SP2
For all supported x86-based versions of Internet Explorer 8 for Windows Vista and for Windows Server 2008
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information about the IHTMLWindow4 interface, visit the following Microsoft Developer Network (MSDN) Web site: