Subj : Re: (SpiderMonkey Question) Help calling script functions from C To : netscape.public.mozilla.jseng From : zaphodthefirst@hotmail.com (zaphod) Date : Fri Oct 03 2003 06:18 am Thanks, changing JS_CompileScript to JS_EvaluateScript made it work, and the other tips were also helpful. .