On 11.01.2016 17:44, Anthony Walter wrote: > I Delphi at least if you create a component with AOwner set to nil it > actually (tested under Delphi 7 at least) would set the Owner to > Application.
That would lead to crashes all over the place: C:=TComponent.Create(nil); try ... finally C.Free; end; Upon app termination the Application object would the again try to free C (note: it is not nil) -> Access Violation. Bart -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
