Hello All, I have created an XPCOM Component which listens to the xpcom-startup and xpcom-shutdown events. Jus now I am copying MyComponent.dll to .. \component folder and deleting compreg.dat file from profile folder. So next time when mozilla starts up it registers the compnent ( I have user ComponentRegistrationProc in GetNSModule). So it register on it's own.
I don't want to delete compreg.dat file manually. So I want to autoregister my component.I am trying to use NsComponentRegistar::autoRegister to force the registration itself. I doubt is it the proper way.But I don't know from where to call that method?? Plz let me know how can I do that..or if there is anyother way to Auto Register myComponent. Thanks a lot in advance. _______________________________________________ dev-tech-xpcom mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-xpcom
