You can look up the nsSample code for more information
http://lxr.mozilla.org/seamonkey/source/xpcom/sample/nsSample.cpp
http://lxr.mozilla.org/seamonkey/source/xpcom/sample/nsSample.js
hth Gangadhar Ajit Web wrote:
Hello,
Can I pass interface from Javascript to XPCOM component in C++? I want to have access to the document object in my XPCOM object. I have the document object in JavaScript of an HTML page. Is there any other method of accessing the document object in an XPCOM Object.
With Regards, Ajit Anvekar Software Developer, Modular InfoTech Pvt. Ltd.
_______________________________________________ Mozilla-xpcom mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-xpcom
