Hi
Have you resolved this problem? I am runnin into same issue.

Thanks,

John
"gmail user" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi there,
> Can someone tell me the reasons why GetServiceByContractID would fail?
> I have something like
>     nsCOMPtr<nsIServiceManager> servMan;
>     nsresult rv = NS_GetServiceManager(getter_AddRefs(servMan));
>     if (NS_FAILED(rv)) return -1;
>     nsCOMPtr<nsICookieManager> cookieManager;
>     rv = servMan->GetServiceByContractID("@mozilla.org/cookiemanager;1",
>  NS_GET_IID(nsICookieManager), getter_AddRefs(cookieManager));
>
> Thanks
> -gu


_______________________________________________
Mozilla-xpcom mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to