mikcaau wrote: >> When I have posted that the following lines: >> >> Obj := Nil; >> Obj.Free(); > > This will cause an exception
No it won't. What exception do you think it will raise? > try > Obj.Free; > Obj := nil; > except > on E:Exception do; > end; > > will not! > Once you set Obj := nil you cannot reach it But you can still call non-virtual methods on that variable, and Free in particular won't do anything if it detects that it has been called on a null reference. -- Rob

