I'm working to embedding Mozilla in a Java app/library. On Linux, I modified the test app (located in <MOZILLA_SRC_HOME>/embedding/browser/gtk/tests/) for Gtk Mozilla embedding widget, to add features like profile management, post data, etc.
After building it with Mozilla 1.4, it works well with Mozilla 1.4. It also works with 1.7 if the source is built with the 1.7 source.
But the executable built with Mozilla 1.4 doesn't work with Mozilla 1.7. there is below error: ~> ./mozembed-test ./mozembed-test: relocation error: ./mozembed-test: undefined symbol: _ZTV9nsAString
Seems that it's due to the modified code links to XPCOM APIs, and XPCOM libraries changed between 1.4 and 1.7.
Though I want to use XPCOM Glue, but it only provides limited APIs, not satisfying
the new code. Which looks like quite a common problem, how an application work around the dependency on XPCOM APIs, since it keeps changing between Mozilla version?
Are there any other solutions to that ? or examples on how other apps solve the problem ? Thanks for any fixes or comments !
George.
_______________________________________________ Mozilla-xpcom mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-xpcom
