do_GetService(kStringBundleServiceCID, &rv);
do_GetService(NS_STRINGBUNDLE_CONTRACTID, &rv);
PRUnichar *GetStringByID(PRInt32 stringID){   nsresult rv;   nsCOMPtr <nsIStringBundle> sBundle = nsnull;   nsCOMPtr<nsIStringBundleService> sBundleService =             do_GetService(kStringBundleServiceCID, &rv);   if (NS_FAILED(rv) || (nsnull == sBundleService))       return nsnull;   rv = sBundleService->CreateBundle(MSGS_URL, getter_AddRefs(sBundle));   if (NS_FAILED(rv))       return nsnull;   PRUnichar *ptrv = nsnull;   rv = sBundle->GetStringFromID(stringID, &ptrv);   if (NS_FAILED(rv))       return nsnull;   return (ptrv);}