Subj : Spidermonkey issues To : netscape.public.mozilla.jseng From : "Stu" Date : Tue May 27 2003 07:18 pm Hi again, Have written a simple C function that opens a script with JS_CompileFile, Executes the script with JS_ExecuteScript then Calls a function with CallFunctionName. This function works successfully with a debug JS32.dll but when I use the release version of JS32.dll the compilefile and execute file are both successfull but the CallFunctionName fails with a 'ReferenceError host no defined'. Both the js32.dll 's were created in the same way with MS visual studio 6.0. Any ideas? Do I need to declare something special in the release version to use CallFunctionName etc I'm also using JS_NewStringCopyZ and STRING_TO_JSVAL to get the parameters into a jsval could this be js32 build specific. thanks all., Stu .