On 10/16/16, grouchysmurf <d7559b8c502dea1b5323af444e81e...@grabun.pl> wrote:
>> Probably you can set system.ExitCode before calling Terminate.
> I ended up doing exactly that though it feels like an ugly thoug
> incomplete hack. Thanks for the tip.
Why a hack?
System.ExitCode is meant for returning exitcodes.
an overloaded TCustomApplication.Terminate(AExitCode: Integer) might
be nice to have though.
You could file it as a feature request in the bigtracker.
fpc-pascal maillist - email@example.com