Hi again,
I've never handled error messages in Delphi so it's new to me.
My program uses a lot of RAM. Is there a way to do FreeAndNil() when I receive the "Out of Memory" error? Or if not, is there a way to end the program on this error? Such as Halt() or Close()?
I've never handled error messages in Delphi so it's new to me.
My program uses a lot of RAM. Is there a way to do FreeAndNil() when I receive the "Out of Memory" error? Or if not, is there a way to end the program on this error? Such as Halt() or Close()?