The code below works correctly when the application is compiled in 32 bits:
Try
:
Menu_Sistema.wIDEEngine.RunProject;
Result:=True;
Except
On E: SysUtils.Exception do
wErro:= E.Message;
End;
If the script has an error, in the 64-bit version the application is closed (the line Result := True;
is not executed). In the 32-bit version, if script has error, this line is executed.
I'm using:
Delphi 11.3 (Version 28.0.48361.3236)
TMS Scripter 7.31.0.0
PC: Windows 11 Pro (23H2) - CPU: i7-11700K - RAM: 32 GB.