Re: nsIDOMNSDocument on 1.9
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <af74c2b0-94f0-49ae-9505-19df36c99ca7@n20g2000hsh.googlegroups.com> |
On Feb 4, 2:19 pm, "Nickolay Ponomarev" <[email protected]> wrote: > 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 You are right! I had been using an old IDL. I am embedding Mozilla in Java. The wrong version of javaxpcom somehow ended up in my classpath. Thank you so much.