Do you still need to know how to call JavaScript functions from C++? I have done this successfully from my C++ XPCOM object.
I was about to dive into this myself. I would be very interested in seeing how it can be done.
The basic idea is to implement an interface using a JS object. Then you can call into that interface from C++ and XPConnect will map it for you.
--BDS
