Hello - Can anyone advise me please.
In the past we have had methods returning strings to the JavaScript code
in a HTML page.
In our IDL file we have tried using
string GetVersion();
The idl file generates:
NS_METHOD GetVersion(char * _retval)
We have a product in the field that for many years has been setup so that we
can use the string values returned to JavaScript. We are updating our
product to use XPCOM and now appears to return the string values as the
method parameters. My question is - can we still use this method and how is
this implemented. At the present time is to write Java Glue to achieve
this - but this is not seamless and will require a large amount of glue to
be implemented. We want to avoid having thousands of tech support calls and
wish to be able to continue using original HTML code with minimal changes
necessary to implement XPCOM.
Above is an example using the method GetVersion which produces a return
string. In actuality we have at least 30 other routines that need to be
setup.
With Thanks
Patrick McHale
Software Engineer
Paul Baxter
Principal Software Engineer
Powerlan U.S.A.
If we have to change