On 2009-09-04 01:51 PDT, Amine wrote: > Actually, I'v placed the nspr-4.6.4 libraries in c:\jss. So, I've only > replaced the debug libraries of nspr-4.6.4 by the release ones and > everything works properly.
Well, if it works, I guess we should stop trying to fix it. :) > I didn't set my path to the nss-3.11.4 package because the libraries > existing in my C:\Programe Files\Mozilla Firefox are more update > (3.12.3.0). But they're different in a very crucial way. > Just a little question : why jss4.dll needs libraries of nspr package > such : > - libnspr4.dll > - libplc4.dll > - libplds4.dll > even if we can expect that > - nspr4.dll > - plc4.dll > - plds4.dll > which exist in C:\Program Files\Mozilla Firefox are probably similar ? There are two flavors of NSPR for windows. One of them uses a special Windows form of threads, known as "fibers", and a special form of non-blocking asynchronous IO known as "IO Completion Ports", which were originally introduced in Windows NT for use in servers, and were not present in Windows 9x and Windows ME, but are also available in Win2k, WinXP and all newer versions of Windows. This is known as the "WinNT" flavor of NSPR. It is intended for use in multi-threaded servers. The other flavor uses the more common form of windows threads, and uses ordinary Windows file IO, the kind that was always available in both Windows 9x and Windows NT, and in all versions of Windows since those. Since this type of threading and I/O was not specifically intended for servers, perhaps we can call it the "client" flavor of NSPR, but it is more commonly known as the "Win95" flavor, because it uses the methods that were originally available in Windows 95. So, the two flavors are "WinNT" and "Win95" but may be thought of as the "server" flavor and the "client" flavor. It's typically best for a process to use one or the other, not both, of those flavors. The NSPR libraries included with and used by Firefox are the client flavor. The dll files do NOT begin with the "lib" prefix. The NSS shared libraries distributed with Firefox depend on that flavor of NSPR. The version of NSPR available at the FTP URL I provided previously are the WinNT flavor. The file names DO begin with the "lib" prefix. The NSS and JSS libraries available at the FTP URLs we previously discussed rely on the WinNT flavor of NSPR. You may be able to get the jss.dll to work with the Win95 flavor of NSS and NSPR,, and if it works well for you, then don't fix it! :) but if you continue to have problems, I'd advise you to try a configuration of DLLs that are all built for the WinNT flavor of NSPR. -- dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto