I would like to know if there is a way to avoid infinite loops of errors in Delphi XE2. These errors are usually critical errors of missing a file (like DLL) or without permission to access something.
I use exception handling, but in very sporadic cases some of these errors occur, but it becomes impossible to terminate the application without being Windows Task Manager, because clicking on the OK of the message another one appears.
Someone has a tip on how to avoid this loop, even if you need to end the application
Below is an example of a message: