You can create a Javascript XPCOM component with its interfaces defined in IDL and call the component's methods from C++. nk wrote: > I have written a C++ XPCOM object. I would like to call a javascript > function from this object which is defined in html page hosting XPCOM > object.
