I said: > On 9 Jun 2010, at 16:38, Eugen Rosu wrote: > >> I want to delete a temporary file when I quit an application. >> How can I do this in my below example : >> '---------------------------------------------- >> < code snip > >> '---------------------------------------------- > > I wonder if it can be done in a CE kEventAppTerminated handler? > Or by intercepting kHICommandQuit in a command process handler installed on the application (see FBShell example). Bernie