Hello James, The application is not multithreaded and I use the lastest version of the component (ZipBuilder 1.7, but the problem is the same in ZipBuilder 1.6) and the latest dll (included in ZB 1.7). The problem persists with keyup and keydown events, and I think that the problem is not there. Thank you for your help! Petko Kafedjiski ----- Original Message ----- From: "James Turner" <james.d.h.turner@xxxxxxxxxxxx> To: <delphizip@xxxxxxxxxxxxx> Sent: Wednesday, December 04, 2002 4:35 PM Subject: [delphizip] Re: ZipBuilder UnzBusy problem? > > Petko, > > Is your application multithreaded? > Are you using the latest thread-safe vesions of the DLLs? > If the answer is yes, to both of these questions, have you considered using > critical sections? > > As an imperfect fix, could you extract file text after a keyup event instead > of a keydown event? > > -- James Turner > www.skaro.net > > > ----- Original Message ----- > From: "Petko Kafedjiski" <kafedjiski@xxxxxxxxxxx> > To: <delphizip@xxxxxxxxxxxxx> > Sent: Wednesday, December 04, 2002 2:49 PM > Subject: [delphizip] ZipBuilder UnzBusy problem? > > > > Hello, I have an application, which consist of list and text pane. List > > panecontains list of items and text pane shows the text file associated > with > > each item (handled as text file in a zip archive). I have the following > > problem: When the user holds the arrow key (going up or down in the list), > > the program reads and shows the text document in the text pane. However > > sometimes, ZipBuilder freezes. I tried to let my application wait (with > the > > Windows Sleep function) until UnzBusy is set to false, but UnzBusy gets > > neverfalse, it stays true. Then I tried to recreate (reload dll files, > > deleteand create new instance of ZipBuilder each time the problem occurs), > > but the UnzBusy again stays = true. The only way to make it work is to > shut > > down and reopen the program, but this makes no sense to me. Is this > known > > problem and is there any workaround for it? Thank you very much for your > > time! Regards, > > Petko Kafedjiski P.S.: The problem appears only when the users iterates > > fast between different items (and ZipBuilder has to open the files > faster). > > P.P.S.: I use C++Builder 5 (the problem occurs on all versions of > Windows). > > >