I Komang Wendra Arinegara wrote: > Hi, > Currently I'm working on an application which uses ZipMaster version v1.52M > Jun. 6, 2000. > I'm the not the intial developer for the application just doing a support. > The problem I have now is that zip resulted is intermittent and randomly miss > some components which the program issued to be zipped. > Is this a known problem? > > Below is the snap shot when calling zipmaster.add > > > ZipMasterPackage := TZipMaster.create(Self); > ZipMasterPackage.DLLDirectory := DLL_DIRECTORY; > ZipMasterPackage.Load_Zip_Dll; > with ZipMasterPackage do begin > Verbose := True; > Trace := True; > AddCompLevel := 9; > AddOptions := [AddDirNames]; > end; > ZipMasterPackage.ZipFilename := vZipName; > ZipMasterPackage.FSpecArgs.Add(vFromPath); > Screen.Cursor := crHourglass; > Application.ProcessMessages; > ZipMasterPackage.Add; > > vComponentCount := ZipMasterPackage.Count; > > ZipMasterPackage.Unload_Zip_Dll; > FreeAndNil(ZipMasterPackage); > > > Thanks in advance > [cid:image001.gif@01CA3148.8293A180] > Wendra Arinegara > Senior Software Engineer > Phone +62 (361) 755 025 > Facsimile +62 (361) 755 024 > http://www.mitrais.com<http://www.mitrais.com/> > > "Our doubts are traitors, and make us lose the good we oft might win by > fearing to attempt" -William Shakespeare- > > This e-mail is for the intended addressee only and is confidential > information. If you have received this transmission in error please delete > and notify the sender. The contents of this e-mail are the opinion of the > writer only and are not endorsed by Mitrais unless expressly stated otherwise. > > > > ----------- > To unsubscribe from this list, send an empty e-mail > message to: > delphizip-request@xxxxxxxxxxxxx > and put the word unsubscribe in the subject. > That is an old version but I don't remember any such problems but there is not much information to go on. A few questions - 1. what windows versions? 2. does it consistently miss the same files? 3. if you save the trace messages to a list (via OnMessage) does it mention the missed files. A couple of things about the code you show- 1. Verbose and Trace are set but no OnMessage handler is attached - this will slow things. 2. You set AddDirNames but not AddRecurseDirs which seems strange. 3. you don't check that it finished without an error. Russell Peters ----------- To unsubscribe from this list, send an empty e-mail message to: delphizip-request@xxxxxxxxxxxxx and put the word unsubscribe in the subject.