William Buch wrote:
          nsISimpleJSO* *jsObject;
          nsScriptablePeer *peer = getScriptablePeer();
          peer->GetJsObject(jsObject);

use this instead: nsISimpleJSO* jsObject; // only one *! ... peer->GetJsObject(&jsObject);

If you want to meaningfully compare jsObject to null, you have to explicitly initialize it to null as well. alternatively, check the return value of GetJsObject.


now, I have no idea if calling mozilla functions from the forked process is supposed to work...
also, this talk probably belongs to some plugins specific newsgroup/mailing list, if that exists.
_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to