Ah, ok. Now it worked! Thanks a lot. So how would you recommend to compile for a release version, that is not debuggable anymore?
"John Bandhauer" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Sounds like you're probably trying to use a component built for > debug with a release build of the app. This does not work because > there are some symbols in the app (in this case in xpcom.dll) > that are present and available in the debug build but not in the > release build. Try with a non-debug build of your dll. > > In mozilla (on Win32) the following in your environment before > building will build a non-debug with symbols build. This gives > you something that is still debuggable if you need that during > development. That is not usually what you'd want to distrubute > however. > > set MOZ_DEBUG= > set MOZ_PURIFY=1 > set MOZ_PROFILE=1 > > John. > > shadows wrote: > > > > When I do regxpcom it says: > > "NS_CurrentThread" was not found in "xpcom.dll" in a popup > > and on the console: > > ************************************************** > > nsNativeComponentLoader: SelfRegisterDll(C:\Programme\Netscape\Netscape > > 6\compon > > ents\omnicard320.dll) Load FAILED with error: error 127 > > ************************************************** > > > > "John Bandhauer" <[EMAIL PROTECTED]> schrieb im Newsbeitrag > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > 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.
