Daniele B. wrote:
  var nCard = -1;
  aBook.getCardCount(nCard);

The istruction that generate the error is "aBook.getCardCount(nCard);".

That should be:
  var outval = {};
  aBook.getCardCount(outval);
  var nCard = outval.data;

Maybe it's .value, I'm never sure which is right...

That interface should really be changed to just return the number...
_______________________________________________
Mozilla-xpcom mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to