Juts moving an app. from using a Thread to a Std object.  Is there a good
way to have an object that frees itself after doing its work.

i.e  current code

Tmythread.Create(Params, Params, Params, Params);            //Thread runs
and frees

i.e desired code
TMyWasThread.Create(SameParams,SameParams,SameParams,SameParams,);
//TObject runs and frees itself

The advantage of this would be that I could just change the Class and not
all the code that uses it.

Rob

Software engineer
Wild Software Ltd
Ph 03 338-1407


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to