Good morning
I have an ennoying difference with the zip file generated with Harbour
Supposing the working directory is Test
zipping the test directory with Xharbour will show Test as main directory , with harbour it will show C as main directory then test below
the code used is the following
lZipDone := HB_ZIPFILE( cZip , aFiles , 9, {|cFile,nPos| UPDMETER(CFILE,OMETER,NPOS,@nctr,NLEN,ODLG,@DLGFILE,OBJFILE)}, .T.,, lZipWithPath, .F. )
Does anyone know how to deal with this ?
thanks for the help
PS : this is my housekeeping program, the only one i still use xharbour for....
Richard
hb_zip difference between harbour and xharbour
- Richard Chidiak
- Posts: 946
- Joined: Thu Oct 06, 2005 7:05 pm
- Location: France
- Contact:
Re: hb_zip difference between harbour and xharbour
Richard,
I recently changed from xHarbour Builder to the latest Harbour version. I only had to add som libraries,but all my hb_zip functions are working just fine without changing one single character in my code.
I recently changed from xHarbour Builder to the latest Harbour version. I only had to add som libraries,but all my hb_zip functions are working just fine without changing one single character in my code.
Regards,
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
- Richard Chidiak
- Posts: 946
- Joined: Thu Oct 06, 2005 7:05 pm
- Location: France
- Contact:
Re: hb_zip difference between harbour and xharbour
Michel
I did not change a single line of code neither, this is not the point
The point is that we do not get the same results and it is very ennoying for backwards compatibility
In other words a file saved with xharbour will not be restored properly with harbour and vice versa because harbour will always place the root drive on top.
I had planned to get rid of hb_zip , il will replace with 7z command line , much easier
Richard
I did not change a single line of code neither, this is not the point
The point is that we do not get the same results and it is very ennoying for backwards compatibility
In other words a file saved with xharbour will not be restored properly with harbour and vice versa because harbour will always place the root drive on top.
I had planned to get rid of hb_zip , il will replace with 7z command line , much easier
Richard
Re: hb_zip difference between harbour and xharbour
Hi Michel,
In order compile HB_ZIPFILE in xHarbour commercial, what libraries should i add?
Thanks.
add : I have forgetten the say my program is console application.
In order compile HB_ZIPFILE in xHarbour commercial, what libraries should i add?
Thanks.
add : I have forgetten the say my program is console application.
Regards,
Hakan ONEMLI
Harbour & VS 2019 & FWH 20.12
Hakan ONEMLI
Harbour & VS 2019 & FWH 20.12