HI

I am wanting to use the NSS3.2 interface *.so library in a mozilla XPCOM
module that I am writing. 

iasAcert::iasAcert()
{
    nsresult rv = NS_OK;
    char *aPath = NULL;
 
    NS_INIT_ISUPPORTS();
/* add more init here */
 
    nsCOMPtr<nsIFile> aDir;
    rv = NS_GetSpecialDirectory(NS_APP_USER_PROFILE_50_DIR,
getter_AddRefs(aDir));
    if (NS_FAILED(rv)) return;
 
    aDir->GetPath(&aPath);
 
    NSS_InitReadWrite(aPath);
}                                                                               

How do I load the nss3.so for this call?  I have moved the libnss3.so
and all the other security lib to dist/bin/    

Should I move them to dist/components/?

Should/How do I do a QueryInterface?

Thanxs in advance

Shaun

Reply via email to