Application.Terminate; i .dpr
Er det muligt at tilføje noget kode i .dpr filen så der derfra defineres hvad den skal gøres lige inden programmet lukkes ???{$R *.res}
begin
Application.Initialize;
Application.CreateForm(TFLogin, FLogin);
Application.CreateForm(TFMain, FMain);
// Ala noget i stil med
on Application.Terminate then
RemoveDir('StreamData');
// Eller hvor det nu skal sættes ind henne ??
Application.Run;
end.
