Boris Zbarsky a écrit : > Gailin wrote: > > nsCOMPtr<nsIDocument> doc = do_QueryInterface(domDoc); > > Do you get a non-null "doc"? > > > doc->GetDocumentURI()->GetPrePath(prePath); //here firefox crash he > > Which exact version of nsIDocument.h are you compiling against? Which exact > version of Firefox are you running against? > > -Boris
Ok Boris : - No, I get a null "doc", but I get a valid (non-null) "htmlDoc" .... strange ! - I'm running with the 1.5.0.3 version of firefox. This is the version automatically installed with GNOME ( on Suse ) - 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 ! So I think I have the last version of nsIDocument.h. But if you want to see the file : http://membres.lycos.fr/gailin24px/ff/nsIDocument.h Thx ! _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
