I am writing a C++ application that needs to read the value of a particular cookie. I am using XPCOM library. I first initialized the library. Then I get the component manager from which i got the cookie manager. Now there are about 10 cookies in cookies.txt. But the cookie manager doesn't enumerate any. Can someone please answer the following questions :-
1) How can I specify a particular profile and load it? I need to specify profiles for Firefox, netscape or mozilla since any of these broswers could have been installed on users machine and could have actually received the cookie. I tried to get nsIProfile, but got an error.
2) Also, if my application output is not directed to the bin folder of the browser, I cannot get the cookie manager - it returns me an error value. How do I resolve this?
Thanks!
Start your day with Yahoo! - make it your home page
