[delphizip] Re: Best approach?

  • From: "Roger Aelbrecht" <Aelbrecr@xxxxxxxxxx>
  • To: <delphizip@xxxxxxxxxxxxx>
  • Date: Tue, 23 Nov 2004 19:17:01 +0100

zifnabbe@sourceforge wrote:
> Thanks,
> 
> I've made something similar as in Demo9, but on advice of Russell, I
> use only one ZipMaster.
> 
> I've created a thread, which contains a TStringList.
> Files can be added in this StringList.
> The Thread keeps running until the stringlist is empty. If the
> stringlist is empty, the thread is going into suspend mode.
> When files are added to the stringlist, the thread resumes.
> 
> When working with a file, the thread waits until zipmaster is not
> busy. After that the thread moves to the next file in the stringlist.
> 
> Please, if you've some remarks on this approach, let me know.
> 
> Thanks!
> 

Seems OK to me.
One remark if you use this aproach you can leave the DLL's loaded
untill the thread finishes (stops), if you not already did it that
way you can save loading/unloading the dll'"s


-- 
Roger Aelbrecht
http://home.tiscali.be/driehoeksw



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.289 / Virus Database: 265.4.1 - Release Date: 19/11/2004

-----------
To unsubscribe from this list, send an empty e-mail 
message to:
  delphizip-request@xxxxxxxxxxxxx 
and put the word unsubscribe in the subject.

Other related posts: