Subj : nsIAddressBook getCardCount nsISupportsPRUint32 data or value attribute To : netscape.public.mozilla.jseng From : Cimballi Date : Wed Jun 08 2005 03:02 pm Hi, A question about the method getCardCount() in the interface nsIAddressBook. It needs a PRUint32 param but if I create a nsISupportsPRUint32 variable and pass it to the function, there is an error which says : can't set the "value" attribute. This is normal because the nsISupportsPRUint32 has only a "data" attribute. Is this normal ? What kind of object should I pass to the function ? Thanks, Cimballi .