lasombra wrote:
I want to edit the label of a button (XUL-Element) from a XPCOM component. But if I try to do this, my Mozilla (1.7.11) crashes. Here's my code:
This seems more appropriate for the DOM newsgroup. But without a stacktrace or something it's probably hard to tell what's wrong...
Hm... re-reading the code, I would assume that the most likely cause is that there is no element with the specified ID.
BTW, you should use if (NS_FAILED(rv)) instead of checking if (rv != NS_OK), because there might be other success codes too.
_______________________________________________ Mozilla-xpcom mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-xpcom
