I am writing my first XPCOM component, which will be used by a Firefox
extension. I have a few questions about passing information to/from the
XPCOM component.
XPCOM component to Firefox:
I want to return a collection of records to Firefox, where each record
is a structure of data:
typedef struct
{
CString sString1;
CString sString2;
int nOne;
ULONG nTwo;
} MYINFO;
Firefox to XPCOM component:
I want to send a single record to the XPCOM component, using a structure
that is similar to the MYINFO structure.
In both cases, the data is read only.
Do you have any advice on how this can be accomplished? A brief code
sample would be very helpful.
Thanks,
Frank
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom