It depends. If you want to embed all of the mozilla code base into your code, then use NS_InitEmbedding. If you want to link only XUL Runner then use XRE_InitEmbedding. If you want to be able to link any mozilla tree, then use neither. Write them out yourself and use InitXPCOM2 or InitXPCOM3.
I just love it! I learned that one the hard way. Maybe I should update the wiki with my experiences. But alas, i'm too lazy. :-) Zac On Fri, 2007-04-13 at 09:19 +0900, KwangYul Seo wrote: > Hi, > > I'm new to embedding Gecko and I started to look at code in > embedding/tests/*. > > winEmbed uses XRE_InitEmbedding to initialize the gecko engine > > while other ports (mfcembed, os2Embed, wxEmbed) use NS_InitEmbedding. > > What is the difference and which one should I use? > > > Thanks, > Kwang Yul Seo. > _______________________________________________ > dev-embedding mailing list > [EMAIL PROTECTED] > https://lists.mozilla.org/listinfo/dev-embedding > -- Zac Bowling <[EMAIL PROTECTED]> _______________________________________________ dev-embedding mailing list [EMAIL PROTECTED] https://lists.mozilla.org/listinfo/dev-embedding
