Sorry, I don't make attention. For me is an error of programming.
If you want to override a method properly is to declare:

type
TA = Class
destructor Destroy; override;
end;

TB = Class
destructor Destroy; override;
procedure SomeMethod;
end;

Like this for me is not an error in execution.
Adrian

Rob Kennedy a écrit :

> Adrian Bunyi wrote:
> > In Delphi documentation is specified to not call
> > Destroy directly. You need to use Free who call
> > Destroy and verify that Object is not Nil.
>
> What are you talking about? Read Carl's code and notice that he never
> calls Destroy. He calls Free and FreeAndNil.
>
> -- 
> Rob




[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/i7folB/TM
--------------------------------------------------------------------~-> 

-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to