what does "we are not setup??!!" mean exactely ?
Exactly what it says. The browse has not been properly initialized.
rslt = componentManager->CreateInstanceByContractID( "@mozilla.org/embedding/browser/nsWebBrowser;1", nsnull, NS_GET_IID(nsIWebBrowser), getter_AddRefs(webBrowser));
OK... This creates the web browser object. Then you need to initialize it. I believe just QIing to nsIBaseWindow and calling Create() on the result should do the job.
All of this needs to be better documented, and will be by Gecko 1.8.
-Boris _______________________________________________ mozilla-embedding mailing list mozilla-embedding@mozilla.org http://mail.mozilla.org/listinfo/mozilla-embedding