Hi,
    I am new to embedding. I want to use the interface functions of
nsICookieService.
I want to embed functions to handle cookies.
I am not sure where the Cookie Service is initiated first of all.

If I try to create a new instance of this interface using:

nsCOMPtr<nsICookieService> cookieservice = do_CreateInstance
(COOKIESERVICE_ID);

I get a warning the first time I try do it, and I am unable to do it
subsequently.

This may be due to the reason, that it is already created inside somewhere
in Mozilla.
If this is true, please guide me as to where it is intialized or refrenced
in mozilla and also how to use it.

Thanks in anticipation
Sincerely
pds.





Reply via email to