Re: undefined reference to '_InterlockedIncrement' when compiling nss under MinGW

2012-10-09 Thread Brian Smith
weizhong qiang wrote: Thanks for the instruction. I tried the build of nss on with mozillabuild tool (with MS VC and MS SDK, using MS compiler for compilation) on Win7. And the build did pass. But the build with MinGW/MSYS (using gcc for compilation) still failed. I hope the build (with MS

Re: Accessing Mozilla NSS library functions in JavaScript-XPCOM

2012-10-09 Thread Brian Smith
Brian Teh wrote: Currently, my extension uses the NSS library which is coded in C++. But due to 6-week release cycle for Thunderbird, I am wondering whether are there examples on how to use Mozilla NSS for JavaScript-XPCOM, to avoid the need for re-compiling the binary components? Currently,

Re: Help: Setting Miscellaneous Data Information on PK11SymKey

2012-10-09 Thread Robert Relyea
On 10/06/2012 03:34 AM, tehhzstar wrote: Hi, Currently, are there any code samples available that uses PK11_SetSymKeyUserData, PK11_GetSymKeyUserData? I am trying to store information relating to PK11SymKey: - Start Date of when the keys were created - End Date of when the keys will expire