On Jun 7, 10:38 am, Boris Zbarsky <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > The problem is, if I compile it using firefox header files, it > > doesn't > > work on mozilla and if I use mozilla header files it doesn't work on > > firefox. > > Which version(s) of Mozilla and Firefox? Specifically, what Gecko versions? > The two interfaces you're using are both frozen, so compiling against the > older > thing should work.... > > Is gtk_moz_embed_get_nsIWebBrowser working in both cases? > > -Boris
Hi Boris, I'm using mozilla - 1.7.3 and firefox - 1.5.0.10, so I guess that would be Gecko 1.7 and Gecko 1.8.0. webBrowser is not NULL, so I'm assuming gtk_moz_embed_get_nsIWebBrowser is working fine. The stack trace on compiling with firefox and launching with mozilla is: #0 0x0079a405 in nsCOMPtr_base::assign_from_helper () from /usr/local/ mozilla-1.7.3/libxpcom.so #1 0x080653d0 in nsCOMPtr (this=0xbf8f9c1c, [EMAIL PROTECTED]) at / usr/include/firefox-1.5.0.10/xpcom/nsCOMPtr.h:694 #2 0x080641f4 in OnPrintButton (widget=0x9fdd148, data=0x9fef320) at ../../src/Viewer.cpp:440 #3 0x00dcb1c9 in g_cclosure_marshal_VOID__VOID () from /usr/lib/ libgobject-2.0.so.0 #4 0x00dbdf6d in g_closure_invoke () from /usr/lib/libgobject-2.0.so. 0 Thanks, Priyank _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
