Hello, I have a written a small web browser based on gtkembedmoz that was working fine with firefox-2. Then I have switched to firefox-3 and I have noticed that i have to use GRE_GetGREPathWithProperties, XPCOMGlueStartup and GTKEmbedGlueStartup to make it usable again with xulrunner-1.9. It works also fine except it spends a lot of time at start-up loading the required libraries. According to this webpage : http://developer.mozilla.org/en/XPCOM_Glue#Frozen_linkage.3a_dependent_glue_(dependent_on_xpcom.dll)
"Embedding code which wishes to use only frozen symbols and cannot tolerate a load-time dependency on xpcom.dll should #define XPCOM_GLUE 1 while compiling, and link against xpcomglue.lib. It should not link against xpcomglue_s.lib or xpcom.lib" I have tried it, I do not call XPCOMGlueStartup and GTKEmbedGlueStartup any more, but my browser gives me a sigsev as soon as I call gtk_moz_embed_set_path. I think I'm lacking an init or something... I'm compiling for linux/fedora/ppc using flags from libxul-embedding- unstable. Any help will be greatly appreciated. Patrice _______________________________________________ dev-embedding mailing list dev-embedding@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-embedding