Currently, I'm attempting to finish a previous attempt to create a BeOS embedding widget ( based on the widget for QNX's Photon microGUI). http://bugzilla.mozilla.org/show_bug.cgi?id=134107 is the site of the previous attempt along with my updated code and related files.
The testing application crashes during initializiation, in EmbedPrivate::Setup() at webBrowserAsSetup->SetProperty(nsIWebBrowserSetup::SETUP_ALLOW_PLUGINS, aAllowPlugins);
However, i did notice that in EmbedWindow::Init( ... ), these following lines execute the return NS_ERROR_FAILURE;
// create our nsIWebBrowser object and set up some basic defaults. mWebBrowser = do_CreateInstance(NS_WEBBROWSER_CONTRACTID); if (!mWebBrowser) return NS_ERROR_FAILURE;
What causes this, i've no idea. hopefully someone here does. :)
There are issues with mozilla/embedding/config/basebrowser-beos and `make`ing it, but i'll cut it short here. if anyone can tell me how to determine which files need to be in the basebrowser-platform or client-platform files, i'd be grateful. The readme.html in embedding/config doesn't explain very clearly.
basebrowser-* are needed if you create a static version of your embeded project ( i.e. you use --disable-shared and --enable-static ). You can worry about it later. First try the shared version.
Adrian
Any help you can provide will be thoroughly appreciated
-mmadia
_______________________________________________ mozilla-embedding mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-embedding
