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
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
What is the basic difference between Free and FreeAndNil? Is FreeAndNil = Free + Nil? When should I use Free and when should I use FreeAndNil?