Hello everyone. Please forgive me if this is not the correct place for this post. I was not sure if this is a browser or XPCOM question, so I have posted in both groups. I am working on a Windows system using MS C++, Firefox 1.0.2 tar ball source.
Is it possible to access (read/write/delete) bookmarks while out of process? I want to be able to modify the bookmarks while Firefox is open or closed (If open, I want Firefox to refresh it's UI to show the changes), but I am not having much luck. I have a working sample C++ XPCOM component/extension based off of http://www.iosart.com/firefox/xpcom that will give the count of bookmarks in the bookmark toolbar. When this is run from the browser, then it works fine. When it is run via a test program it fails (Error: 0x80040154) trying to get the bookmarks-service. I am guessing that because Firefox statically links the XPCOM components, that the components are only available to code running in the same process as the browser. Could someone please verify this for me? If I am not correct, could someone please give me a hint as to which direction I should take to resolve this? Is there any way to connect to the browser XPCOM static components from a non-browser process? If not, is there a prefered (mozilla?) way to communicate between a browser extension and non-browser process? I have scanned the news groups, but have not come up with any answers myself. Any hints, sample code, or just "Hey Stupid, do this..." =) would be greatly appreciated. Thank you for your time, -Dan _______________________________________________ Mozilla-xpcom mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-xpcom
