shadows wrote: > > Hi, > > I have made an application for mozilla 0.92 and created an xpi package which > copies the xpcom components (mytest.dll, mytest.xpt) to the components > directory. In Mozilla I have no problems- when I restart Mozilla I have > entries in component.reg. But in Netscape 6.1 somehow they don't register- > the dll and xpt files are also in the components directory, but I can find > to entry in the Netscape component.reg! And in JavaScript of course the > XPConnect object doesn't have any properties... > Can anyone help me? Do I need to do something special in Netscape to > register my components? > > Thanks for any tips > Fabian
I'd guess that you are neglecting to force an xpcom autoregistration after adding your new files. Debug builds do this on every startup. Release builds do not. Your installation process needs to either run regxpcom, or call the component manager's autoRegister method. John.
