I tried to use HB_ZIPFILE with lOverwirte flag = .F. to add files to an existing archive, but i get always a new zip archive .
Here the sintax I' ve used :
HB_ZIPFILE( "c:\zfile.zip", aFiles, 9, nil, .F. ) .
I forgot something ?
best regard
Walter Zafferami
HB_ZIPFILE : lOverwrite flag
Re: HB_ZIPFILE : lOverwrite flag
Hello,
I'm using this :
don't forgot including hbmzip.lib in your link script.
Best Regards,
Lautaro Moreira
Osorno
Chile
I'm using this :
Code: Select all
#include "hbmzip.ch"
...
...
local nhzipfile
nhzipfile := HB_ZipOpen( "zipfile.zip", HB_ZIP_OPEN_ADDINZIP )
for nveces = 1 to len ( afiles )
HB_ZipStoreFile( nhzipfile,afiles[nveces])
next nveces
hb_zipclose(nhzipfile)
Best Regards,
Lautaro Moreira
Osorno
Chile
Re: HB_ZIPFILE : lOverwrite flag
Tank you , Lautaro, is a good idea.
But this means that the function HB_ZIPFILE() doesn't work with lOverwrite flag = .F. ?
Best regards
Walter Zafferami
But this means that the function HB_ZIPFILE() doesn't work with lOverwrite flag = .F. ?
Best regards
Walter Zafferami
Re: HB_ZIPFILE : lOverwrite flag
Hello,
I don't know, i don't use,
Best Regard,
Lautaro Moreira
I don't know, i don't use,
Best Regard,
Lautaro Moreira