On Thu, Mar 17, 2005 at 11:08:56PM +0530, Ajit Web wrote:
>        Can anyone help me of getting the path of components directory?
>        I have made an XPCOM component which installs other components.
>       So for this I need to have the component in the Component directory of 
> mozilla based browser. and So I need to get the physical directory o 
> components in Mozilla.

Use the directory service.
http://developer.mozilla.org/xpcom/api/nsDirectoryService has an example
for this (in C++); use NS_XPCOM_COMPONENT_DIR to get the components
directory.

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

Reply via email to