Srinivasa Raghavan wrote:
nsCOMPtr<nsIDocShell> browser= do_GetService("@mozilla.org/webshell;1",&rv);
That's not a service. There is one docshell object per window; if you want a url loaded in a window, you need to get the nsIWebNavigation for that window and use the methods on that. What you do there just creates a docshell in a vacuum; I'm pleasantly surprised that trying to load something in it doesn't crash...
If you don't have a window on hand, you're out of luck for now (though we hope to make nsIURILoader able to handle loads like that soon).
-Boris _______________________________________________ mozilla-embedding mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-embedding
