Carey wrote:
Thanks I am begining to get the picture, so how then do I get a handle to a particular instance say A or B. ie when it was a single service, I just used getService() and it was returned, now how do I now specify which instance to get (wanting to use it from somewhere other than where it was instantiated).
With different CID's. Give each "service" a different CID when you register the object with XPCOM.
oh, I have since implemented a kind of service manager for my own "service instances" that works well. A singleton service that returns the component service A, B .. that I want. But thanks for the advice, I am learning as I go and it all helps.
Thanks
Carey _______________________________________________ Mozilla-xpcom mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-xpcom
