Hi, I've made minor modification to the Secclab component that enables the use of digital signatures from JavaScript.
First I built the component with Mozilla 1.4 and it works fine. Now I am trying to produce binaries for Netscape 7.0 (Mozilla 1.0.1) and Mozilla 1.1 and have run into problems. Mozilla 1.1: The Secclab component is made to link with embedstring.lib - this library is not present in 1.1, however so I linked with string_s.lib and string_obsolete_s. The build process goes through OK but when I install the .xpi with Netscape 7.1 and restart the applications, Netscape crashes. Does anyone have any idea as to what the problem may be? Mozilla 1.0.1: Mozilla 1.0.1 also doesn't have embedstring so I modified the makefiles to link with string_s and string_obsolete_s instead. But there is a problem at compilation time - the sources include XPCOMGlue.h which defines NSXPCOMStartup and NSXPCOMShutdown functions. I removed calls to those functions and removed the references to XPCOMGlue.h and the build process now goes through OK. When I try and install the .xpi file with Netscape 7.0 - the application complains that this isn't a valid .xpi file. Again - does anyone have any clues as to where the problem may lie? Thanks for your help! Mat _______________________________________________ Mozilla-xpcom mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-xpcom
