Always instantiate it through the service manager. It will be treated as a "service". The service manager will check to see if an instance already exists and return a pointer to the component instead of creating a new one. Vladimir Bossicard wrote: > I have an XPCom compoent and I want it to be instantiated at > least once. That means that all further instantiations will > refer to the same object. Regards, Rick
- [Q] How to instanciate an XPCom component at least once... Vladimir Bossicard
