[delphizip] Re: Zipping using XP CD-R support fails

  • From: "Andrus" <eetasoft@xxxxxxxxx>
  • To: <delphizip@xxxxxxxxxxxxx>
  • Date: Sun, 22 Sep 2002 11:37:52 +0300

I have the following directory structure to zip

eeva   - root directory, does not contain files

eeva\algus  - default working directory of my application. Is current when
          zip object is created . May not contain files to zip

eeva\andmed  - contains a lot of  *.dbf, *.fpt files to zip

eeva\firma1 - contains a lot of  *.dbf, *.fpt files to zip

I need to store relative pathnames in zip archieve.
My zipping code changes current directory to eeva before calling Add method
and after Add restores it to algus.  Zipping code is :

  .AddDirNames = .t.
  .AddRecurseDirs = .t.
  .FSpecArgs.Add('*.dbf')
  .FSpecArgs.Add('*.fpt')
  .FSpecArgs.Add('*.fr?')
  .FSpecArgs.Add('*.bmp')

  SET DEFAULT TO ..
  .Add
  SET DEFAULT TO algus

I can send you problably the old zip dll sources if you don't have them.

Andrus.

----- Original Message -----
From: "Russell Peters" <russellpeters@xxxxxxxxxxx>
To: <delphizip@xxxxxxxxxxxxx>
Sent: Sunday, September 22, 2002 12:09 AM
Subject: [delphizip] Re: Zipping using XP CD-R support fails


>
> Must be some incompatibility between dll versions!
> Somewhere I should have the source code for the dlls for version 1.5, I
have
> try to check.
> - Russell Peters
> ----- Original Message -----
> From: "Andrus" <eetasoft@xxxxxxxxx>
> To: <delphizip@xxxxxxxxxxxxx>
> Sent: Saturday, September 21, 2002 9:25 PM
> Subject: [delphizip] Re: Zipping using XP CD-R support fails
>
>
> >
> > Using this dll file like the previous one from newdll.zip does not pack
at
> > all:
> >
> > error 0x000002FF
> >
> > File specification "*.dbf" skipped.
> >
> > and so for all pattern specifications.
> >
> > Finally, a missing or empty zip file error occurs.
> >
> > Andrus Moor
> >
> > ----- Original Message -----
> > From: "Russell Peters" <russellpeters@xxxxxxxxxxx>
> > To: <delphizip@xxxxxxxxxxxxx>
> > Sent: Saturday, September 21, 2002 1:14 AM
> > Subject: [delphizip] Re: Zipping using XP CD-R support fails
> >
> >
> > >
> > > I too don't know how to convert ZipMaster to an OCX (and no time to
look
> > > into it at the moment).
> > > You should try the new dll (should be compatible) I just made - it
might
> > > correct the problem (earlier dlls may not handle temporary directories
> > > properly)
> > >
> > > the file is ZipDLL1705.zip
> > > http://www.users.bigpond.com/russellpeters/Files/ZipDll1705.zip
> > > - Russell Peters
> > >
> > > ----- Original Message -----
> > > From: "Andrus" <eetasoft@xxxxxxxxx>
> > > To: <delphizip@xxxxxxxxxxxxx>
> > > Sent: Friday, September 20, 2002 5:39 PM
> > > Subject: [delphizip] Re: Zipping using XP CD-R support fails
> > >
> > >
> > > >
> > > > Russell Peters,
> > > >
> > > > thank you for reply.
> > > >
> > > > > Your problem may be the choice of destination for the temporary
file
> > > > (later
> > > > > versions have a TempDir property)
> > > >
> > > > I set always    .TempDir  to windows temporary directory in my code.
> So
> > it
> > > > seems than the problem is not there.
> > > >
> > > > > I know I have made spanned archives on A drive with XP (but only
> with
> > > > recent
> > > > > versions).
> > > >
> > > > Backup to drive A: works OK in one of XP desktop computer. If works
> very
> > > > slowly to A:  Last 20% takes
> > > > 30 minutes or more. It did not work to A: in one XP HP omnibook
> notebook
> > > > which is not avalable for testing now. I own also this type notebook
> and
> > > it
> > > > is possible to insrtall XP to it to try to reproduce this (currenty
it
> > as
> > > > W2K). However, I'm concentrating to CD-R zipping problem.
> > > >
> > > > When I set the property     .AddDiskSpan = .t.  when zipping to CD-R
> > disk,
> > > > the error is  a bit different :
> > > >
> > > > .FullErrCode : 0x00000000
> > > > .ErrCode : 0x00002B01
> > > > .Message : Creation of output file failed
> > > >
> > > > > What version is your ZipMaster ?
> > > >
> > > > I'm using ZipMaster through free ActiveX wrapper (ocx file, no
source
> > > code)
> > > > available in my website www.eetasoft.ee/zipmaster.htm  Zipmaster
OCX
> > > > author, PC Magazine editor wrote that he can give out his source
code.
> > > > Unfortunately, I havent got responses for my latest emails to him.
It
> > was
> > > > some years ago when Chris was alive.  I downloaded zipmaster ocx
from
> > > German
> > > > PC Magazine web site. Resource hacker was used to change this ocx
> > messages
> > > > to english.
> > > >
> > > > Its    .VersionInfo property  returns    1.52 M
> > > >
> > > > I cannot use later versions since I don't have Delphi, I don't have
> > > > knowledge how to use Delphi  (I'm a FoxPro programmer) and don't
know
> > how
> > > to
> > > > make ocx file from ZipMaster.
> > > >
> > > > > Some of the changes I plan to make to ZipDll would probably help
> > remove
> > > > this
> > > > > problem (if destination is CD (or Removable?), ensure internal
> > temporary
> > > > > directory is not destination (make it Window - temp) and force
make
> > > > > temporary file.
> > > >
> > > > Since I set .TempDir property always so I'm not sure this solves the
> > > > problem.
> > > > I tried to use the dll files from newdll.zip .
> > > > Zip creation causes errors like  file not matched *.dbf  for all my
> > > > .FSpecArgs  patterns and no zip file is produced.
> > > >
> > > > Must I try to use your newest dll files ?
> > > > Can you remove Easy CD Creator and try XP CD-R support (Easy CD
> creator
> > is
> > > > not required for XP) ?
> > > >
> > > > Andrus Moor
> > > >
> > > > > ----- Original Message -----
> > > > > From: "Andrus" <eetasoft@xxxxxxxxx>
> > > > > To: <delphizip@xxxxxxxxxxxxx>
> > > > > Sent: Thursday, September 19, 2002 8:52 PM
> > > > > Subject: [delphizip]
> > > > >
> > > > >
> > > > > >
> > > > > > If   belive that if  I set .AddDiskSpan property to true, then
the
> > > > > zipmaster
> > > > > > makes temporary file and copies it
> > > > > > to a CD.
> > > > > > In this case, the problem does to appear, isn't it ?
> > > > > > However, If I remember properly, the problem occurs in this case
> > also.
> > > > > > I will re-check using .AddDiskSpan to wirte to CD-RW if  I can
> find
> > a
> > > XP
> > > > > > computer.
> > > > > >
> > > > > > Also, I have found that the same error occurs if  I try to write
> to
> > > > floppy
> > > > > > A: from XP using .AddDiskSpan .
> > > > > >
> > > > > > Andrus Moor
> > > > > >
> > > > > > ----- Original Message -----
> > > > > > From: Russell Peters
> > > > > > To: delphizip@xxxxxxxxxxxxx
> > > > > > Sent: Thursday, September 19, 2002 12:21 AM
> > > > > > Subject: [delphizip] Re: Cannot zip to Cd-RW in XP
> > > > > >
> > > > > >
> > > > > > As writing a zip file requires random access (rewrites early
data
> > > > > structures
> > > > > > and setting) unless you make temporary and then copy the full
file
> > > > writing
> > > > > > to cd (successfully) is unlikely though some cd writers will
cache
> > it
> > > > > before
> > > > > > writing it. I have plans to make a newer version do it this way.
> > > > > > I will try to have a look a the wrapper you use to see what can
be
> > > done.
> > > > > > - Russell Peters
> > > > > > ----- Original Message -----
> > > > > > From: "Andrus" <eetasoft@xxxxxxxxx>
> > > > > > To: <delphizip@xxxxxxxxxxxxx>
> > > > > > Sent: Thursday, September 19, 2002 3:00 AM
> > > > > > Subject: [delphizip] Cannot zip to Cd-RW in XP
> > > > > >
> > > > > >
> > > > > > >
> > > > > > > I have encountered a big problem using zipmaster in Windows XP
> to
> > > Zip
> > > > to
> > > > > > RW
> > > > > > > CD .
> > > > > > >
> > > > > > > Zipping to C: disk works OK. Zipping to CD-RW under Windows 98
> > using
> > > > > > Adaptec
> > > > > > > DirectCD also works OK.
> > > > > > >
> > > > > > > If I try to zip into RW CD under Windows XP using XP native
> CD-RW
> > > > > support,
> > > > > > I
> > > > > > > got the following error:
> > > > > > >
> > > > > > > .FullErrCode :   0x000F020F
> > > > > > > .ErrCode : 0x0000000F
> > > > > > > .Message : Error creating file.
> > > > > > >
> > > > > > > Is it possible to use zipmaster under XP to write toi CD-RW ?
> Can
> > > you
> > > > > > > recommend me a free ActiveX control or standard DLL files
which
> I
> > > can
> > > > > use
> > > > > > to
> > > > > > > call zipmaster ?
> > > > > > >
> > > > > > > I use a free ActiveX wrapper for calling DelZip from FoxPro .
So
> I
> > > > > cannot
> > > > > > > use latest DelZip version.
> > > > > > >
> > > > > > > My free zipmaster wrapper code is at
> > > > > > >
> > > > > > >   http://www.eetasoft.ee/zipmaster.htm
> > > > > > >
> > > > > > > Andrus
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> >
> >
> >
>
>
>


Other related posts: