PRB: ShowHTMLDialog Returns E_NOINTERFACE (0x80004002) (183413)
The information in this article applies to:
- Microsoft Internet Explorer (Programming) 4.0
- Microsoft Internet Explorer (Programming) 4.01
This article was previously published under Q183413 SYMPTOMS
ShowHTMLDialog returns an HRESULT of 0x80004002 - E_NOINTERFACE.
CAUSE
ShowHTMLDialog must be called from a thread that is a member of an
apartment initialized by CoInitialize.
RESOLUTION
Change CoInitializeEx(NULL, COINIT_MULTITHREADED) calls to
CoInitializeEx(NULL, COINIT_APARTMENTTHREADED) or move the ShowHTMLDialog
call to another thread that is apartment threaded.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 11/19/1999 |
---|
Keywords: | kbcode kbprb KB183413 |
---|
|