RE: [DUG]: TThread to TObject conversion

2002-08-19 Thread Stacey Verner
You could use a class procedure that creates the object, does stuff and free's it. Stacey > -Original Message- > From: Robert Martin [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, 20 August 2002 12:09 p.m. > To: Multiple recipients of list delphi > Subject: [DUG]

[DUG]: TThread to TObject conversion

2002-08-19 Thread Robert Martin
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,SamePara