On Dec 30, 3:18 am, Benjamin Smedberg <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > Is it still possible to call XRE_InitEmbedding with the mozilla 1.9 > > branch (xulrunner). It seems there's no public interface anymore for > > that function(I can not link against it!). Am I right? Is it correct, > > that as of gecko 1.9 embedding is only possible with the XPComGlue > > interface? Is NS_InitXPCOM2 an alternative for XRE_InitEmbedding? > > It should be possible to call XRE_InitEmbedding... what libs are you linking > against, and in what linkage configuration? > > --BDS
Currently I'm only linking to xpcomglue.lib and call XPCOMGlueStartup instead. I was basically following this strategy now: http://developer.mozilla.org/en/docs/XPCOM_Glue But I'm unsure about the difference of XPCOMGlueStartup and XRE_InitEmbedding. But I've got some weird behavior at the moment, so I suppose I'm not set up correctly. For example my debugger tells me that I have pointers to the same memory address, but the actual data behind it is different. _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
