http://bugs.winehq.org/show_bug.cgi?id=31720
Bug #: 31720 Summary: ScriptControl can't be used for jscript Product: Wine Version: 1.5.13 Platform: x86 URL: http://netikka.net/dev/scriptcontroltest.exe OS/Version: Linux Status: UNCONFIRMED Severity: minor Priority: P2 Component: jscript AssignedTo: wine-bugs@winehq.org ReportedBy: ocean04@suomi24.fi Classification: Unclassified
This small sample doesn't work
http://netikka.net/dev/scriptcontroltest.exe
procedure TForm1.Button1Click(Sender: TObject); var sc: olevariant; begin sc:=createoleobject('ScriptControl'); sc.language:='JScript'; showmessage(sc.eval(edit1.text+'/'+edit2.text)); end;
First thing you need: winetricks msscript
Builtin jscript shows empty result. No fixmes in terminal.
(Also noticed errors are not handled, like letters or zerodivide)