Article ID: 183413 - Last Review: November 19, 1999 - Revision: 1.0 PRB: ShowHTMLDialog Returns E_NOINTERFACE (0x80004002)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.
MORE INFORMATION
The following code snippet demonstrates the problem:
APPLIES TO
| Article Translations
|

Back to the top
