On Fri, 2004-10-29 at 22:27 +0530, gmail user wrote:
> 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?

Here's one way:

        mozlibdir=`pkg-config --variable=libdir mozilla-xpcom`

-- 
Braden McDaniel                           e-mail: <[EMAIL PROTECTED]>
<http://endoframe.com>                    Jabber: <[EMAIL PROTECTED]>

_______________________________________________
Mozilla-xpcom mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to