Gailin wrote:
- No, I get a null "doc", but I get a valid (non-null) "htmlDoc" .... strange !
Not at all, given the version skew.
- I'm running with the 1.5.0.3 version of firefox. This is the version automatically installed with GNOME ( on Suse )
OK. So that's http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/content/base/public/nsIDocument.h&rev=MOZILLA_1_8_0_3_RELEASE -- note the value of NS_IDOCUMENT_IID.
- I get the source from the CVS server with the appropriate commands describes here : http://developer.mozilla.org/en/docs/Mozilla_Source_Code_Via_CVS !
Using the branch tag that matches your Firefox version?
So I think I have the last version of nsIDocument.h.
Which is not compatible with Gecko 1.8.0.3.
But if you want to see the file : http://membres.lycos.fr/gailin24px/ff/nsIDocument.h
Yes, that's the current trunk version. Notice the different value of NS_IDOCUMENT_IID.
Sounds like things are working correctly -- you're asking a branch Firefox for a trunk nsIDocument, and it doesn't have one. So it returns null.
I suggest developing against headers that match the branch you want to work with. -Boris _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
