Category "delphi"

Unable to programmatically close the application when validation error is found - edited

Based on the input from @David, I have edited my post to include more code (the Main procedure and two functions). The problem remains the same: I want to che

Delphi notification when a file gets updated

My app contains documents in its database. The users can open the documents in which case, the document gets saved to a temporary folder and gets opened on the

Which is preferable: Free or FreeAndNil?

What is the basic difference between Free and FreeAndNil? Is FreeAndNil = Free + Nil? When should I use Free and when should I use FreeAndNil?