On Fri, Aug 31, 2001 at 02:53:02AM +0000, Philip Langdale wrote:
> Hi all,
>
> I've been working on refactoring the xpcom components that galeon
> implements and taking them out of the main binary and putting them
> in an xpcom component library. My problem right now is that the
> only way I know of registering the library is to use
> nsIComponentManager::AutoRegisterComponent().
>
> However this operation is persistent and also requires write access
> to component.reg
>
> We cannot assume write access, nor do we even want persistence as
> we don't want to affect the underlying mozilla environment.
>
> When we had the components inside the binary, we used a RegisterFactory
> call for each component, and that was no problem. I suppose I can
> use the RegisterFactory function that pulls a component out of the
> library, but I don't want to have half a dozen of these if I can
> help it.
>
> What should I do?
>
nsIComponentManager::RegisterComponentLib ?
Ari Heitner