"Debug" components are not compatible with any release version of xpcom.
-Dan Veditz

shadows wrote:

> So which Version of Mozilla should I use then? Can it be because of the
> debug version?
> 
> 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
> **************************************************
> 
> 
> "Daniel Veditz" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 
>>Mozilla 0.9.2 is not quite the same as Netscape 6.1, Mozilla 0.9.2.1 is
>>
> the
> 
>>matching source. I don't think a test binary was released for that.
>>
>>There very likely was an API change in some class you import which causes
>>the .dll registration to fail, in which case you can't create a component
>>that is compatible with both at the same time. One of the main goals of
>>
> the
> 
>>"Mozilla 1.0" effort is to freeze a sufficient number of interfaces and
>>document which ones can be used safely in the future. Until then component
>>developers will either have to live with generating multiple
>>release-specific versions of their components or will have to seriously
>>restrict the number of Mozilla classes they import.
>>
>>You can test this:
>>1) set the environment variables
>>    NSPR_LOG_FILE=<valid path>\xpcom.log
>>    NSPR_LOG_MODULES=nsComponentManager:5
>>2) delete component.reg (to force another autoreg)
>>3) start Netscape 6.1, quit
>>4) search the log file for output about your component,
>>    and/or search for the text FAILED.
>>
>>-Dan Veditz
>>
>>
>>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
>>>
>>>
>>>
>>>
> 
> 


Reply via email to