rv = compMgr->RegisterComponent(kProxyObjectManagerCID, NULL, NULL, path, PR_TRUE, PR_TRUE);
rv = compMgr->RegisterComponent(kProxyObjectManagerCID, nsnull, nsnull, path, PR_TRUE, PR_TRUE);
NSRegisterSelf(nsISupports* aServMgr, const char *path){    nsresult rv;    nsCOMPtr<nsIServiceManager> servMgr(do_QueryInterface(aServMgr, &rv));    if (NS_FAILED(rv)) return rv;    nsIComponentManager* compMgr;    rv = servMgr->GetService(kComponentManagerCID,                              nsIComponentManager::GetIID(),                              (nsISupports**)&compMgr);    if (NS_FAILED(rv)) return rv;#ifdef NS_DEBUG    printf("*** nsProxyObjectManager is being registered.  Hold on to your seat...\n");#endif    rv = compMgr->RegisterComponent(kProxyObjectManagerCID, NULL, NULL, path, PR_TRUE, PR_TRUE);    if (NS_FAILED(rv)) goto done;    done:    (void)servMgr->ReleaseService(kComponentManagerCID, compMgr);    return rv;}