Harry Zhang wrote:
Is XPCOM can also be used as runtime objects that can be "new" in codes

Yes, of course. How do you think the DOM is implemented in Gecko, for example? C++ objects that implement various scriptable interfaces based on the W3C DOM interfaces. I can assure you that <body> elements are created at runtime all the time, using |new|.

-Boris
_______________________________________________
dev-embedding mailing list
dev-embedding@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to