Hi, NS_InitXPCOM2 expects the second and third argument as the bin directory of mozilla installation and the profiles location. I am curious as to how we can obtain these information on a user system when we ship a program based on xpcom. Can someone throw light on this?
I have gone through the embedding documentation, but could not figure this out anywhere.
Thanks ~f9
What are you trying to do?
If you are simply linking to xpcom and plan to put your application next to the xpcom library, you probably can get away with just passing null for these arguments.
This function if very flexible. Some application suites publish the location of the "bin" directory and the profile directory in a well known place. Their apps look these value up and pass them to NS_InitXPCOM2.
Doug _______________________________________________ mozilla-embedding mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-embedding
