Russell Whitaker wrote:
It's an RTS issue. From error.pas:
procedure RuntimeErrorInteger (n: Integer; i: MedInt); begin SetReturnAddress (ReturnAddress (0)); ErrorMessageString := FormatStr (GetErrorMessage (n), Integer2String (i)); EndRuntimeError (n) end;
Indeed, there's a problem, but this would only happen when writing an error message. If allocation succeeds, things may still go well ...
Frank