Hi,

I am trying to figure out the various bits in an IDL file.

The nsISample.idl file has a line 'attribute string value'.  I don't
understand
what this is for. Also similarly I don't understand the description for:

void writeValue(in string aPrefix);
void poke(in string aValue);

What is the purpose of specifying 'in' - is this supposed to represent
Javascript data direction flow between an application. I wish to be able
to run an C++ application's methods from Javascript as I cannot do this
via Liveconnect as in previous versions of Netscape.  Is there
documentation anywhere which actually describes this process of
executing C++ applications methods, and the parameter descriptions used
in the Javascript code.

There is documentation around about XPCOM / XPConnect - but nothing
tells me exactly what is needed to be setup from the Javascript end and
the requirements to be implemented in the actual C++ code.

Patrick McHale
Powerlan


Reply via email to