Subj : Sending Parameter (argc, argv) to a java script. To : netscape.public.mozilla.jseng From : Laurent Marzullo Date : Wed May 26 2004 02:29 pm Hello, I've got an Array of jsval in a C++ application, I create a JSObject* with JS_NewArrayObject( ... ); I then want to execute a JavaScript file and to pass the array created above to the script. (as argc, argv parameter of a C main function) ? What is the step with the spidermonkey JS API to export the Array with the name 'argv' to a javascript ? (Or any other way to be able to refer to this array in the javascript file). Thanks very much for your help. Laurent Marzullo .