[i sent this last night, but it didn't go through because I sent it from an unsubscribed address. If you get it twice, please forgive.]

I'd like to have a debugging build of the GRE so I can debug my application, which embeds a browser. I've already downloaded and built Mozilla. I see the dist/sdk and dist/gre directories. How do I make dist/gre into a full-fledged GRE, such as that distributed on the FTP site?

I tried just running my application against dist/gre by setting the GRE_HOME environment variable. This produces an error message "WARNING: NS_ENSURE_TRUE(mInternalWidget = do_CreateInstance (kChildCID) failed, file c:/moz/mozilla/embedding/browser/webBrowser/ nsWebBrowser.cpp, line 1087". I traced into that function (that's why I made a debugging build, after all :)) and it is failing to find a factory for the class ID of the child window widget object. (Excuse my sloppy terminology -- I'm new around here.) Also, on startup, there is chatter about components being found and registered the first time I run my app, and there are two "failed to write xpti manifest" assertions unless I create a 'components' directory in the same directory as my executable.

I noticed that dist/gre/components lacked an xpti.dat, so I tried copying regxpcom from dist/sdk into dist/gre and running it. This produced an xpti.dat but didn't help. I also tried copying the entire GRE into the same directory as my executable and running regxpcom, but that didn't change application behavior either.

I'm on Win XP. I would be very grateful even for the 'make' invocation that builds the GRE installable package that is distributed on the FTP site.

Thanks very much,

Geoff Schmidt
Participatory Culture Foundation
[EMAIL PROTECTED]

_______________________________________________
mozilla-embedding mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-embedding

Reply via email to