Re: nsIDOMNSDocument on 1.9

"Nickolay Ponomarev" <[email protected]>
Newsgroups gmane.comp.mozilla.devel.dom
Message-ID <[email protected]>
On Feb 2, 2008 12:12 AM, [email protected] <[email protected]> wrote:
> I am getting a 0x80004002 no interface error when trying to QI
> nsIDOMNSDocument out of nsIDOMDocument on a HTML file. It was working
> fine on 1.8. Does anyone know if 1.9 change direction on this? How can
> I obtain nsIDOMDocument in this case? QI both nsIDOMHTMLDocument and
> nsIDOMNSHTMLDocument out of nsIDOMDocument work fine on 1.9. Thanks.

I guess you're QI'ing from C++. The IID of nsIDOMNSDocument has
changed and you're probably calling QI with the old IID (maybe you're
using an old SDK or header?)

Nickolay
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.