> It should be possible to use services. A service is just a singleton
> XPCOM object. At startup you register its factory class and then an
> instance of the object will be created when first requested and reused
> thereafter.
>
Ok, so I implemented a custom service and registred it succesfully from C++.
But from the .js side I get an exception ("Permission denied to access
property") when I try to access the classes property of Components.
I must be missing something pretty obvious here... any clues?
thanks
-h-