zip and unzip

zip and unzip

Postby hag » Wed Jun 03, 2009 4:22 am

I read all posts on how to zip up files. Using Harbour. if some one could post or send me some code on how to do this.
I've put hbzip.lib but I keep getting

error.. unresolved external _hb_fun_hb_zipfile

Help
Thank you
Harvey
hag
 
Posts: 598
Joined: Tue Apr 15, 2008 4:51 pm
Location: LOs Angeles, California

Re: zip and unzip

Postby Enrico Maria Giordano » Wed Jun 03, 2009 9:50 am

Try linking hbziparc.lib.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: zip and unzip

Postby hag » Wed Jun 03, 2009 2:49 pm

Thanks for the quick responce.
hbzip.lib (date 6-27-08, size 581,192)
if i link hbziparc.lib. (date 9-12-08,size 8700)
This is the link script
Code: Select all  Expand view
echo c0w32.obj + > b32.bc
echo %1.obj, + >> b32.bc
echo %1.exe, + >> b32.bc
echo %1.map, + >> b32.bc
echo %fwh%\lib\FiveH.lib %fwh%\lib\FiveHC.lib + >> b32.bc
echo %hdir%\lib\hbrtl.lib + >> b32.bc
echo %hdir%\lib\hbzip.lib + >> b32.bc
echo %hdir%\lib\hbziparc.lib + >> b32.bc
echo %hdir%\lib\hbvm.lib + >> b32.bc
echo %hdir%\lib\gtgui.lib + >> b32.bc
echo %hdir%\lib\hblang.lib + >> b32.bc
echo %hdir%\lib\hbmacro.lib + >> b32.bc
echo %hdir%\lib\hbrdd.lib + >> b32.bc
echo %hdir%\lib\rddntx.lib + >> b32.bc
echo %hdir%\lib\rddcdx.lib + >> b32.bc
echo %hdir%\lib\rddfpt.lib + >> b32.bc
echo %hdir%\lib\hbsix.lib + >> b32.bc
echo %hdir%\lib\hbdebug.lib + >> b32.bc
echo %hdir%\lib\hbcommon.lib + >> b32.bc
echo %hdir%\lib\hbpp.lib + >> b32.bc
echo %hdir%\lib\hbcpage.lib + >> b32.bc
echo %hdir%\lib\hbw32.lib + >> b32.bc


I get a number of errors:
wild2regEx
inflateend
deflate
get_crc_table
deflateinit2
crc32
fscurdirbuffex
inflateinit2
inflate
retcadagrt
Thank you
Harvey
hag
 
Posts: 598
Joined: Tue Apr 15, 2008 4:51 pm
Location: LOs Angeles, California

Re: zip and unzip

Postby Enrico Maria Giordano » Wed Jun 03, 2009 2:51 pm

If you are using Harbour (not xHarbour) you have to remove hbzip.lib and add hbmzip.lib and hbzlib.lib.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: zip and unzip

Postby hag » Wed Jun 03, 2009 3:24 pm

Using harbour. I have hblib.lib but i do not have hbmzip.lib. Please direct me on how to get a copy. Thanks again.
Thank you
Harvey
hag
 
Posts: 598
Joined: Tue Apr 15, 2008 4:51 pm
Location: LOs Angeles, California

Re: zip and unzip

Postby Enrico Maria Giordano » Wed Jun 03, 2009 4:57 pm

Do you have the latest FWH? If yes, you should have hbmzip.lib.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: zip and unzip

Postby hag » Wed Jun 03, 2009 6:33 pm

I'm using fwh89. Is the hbmzip.lib compatible with 89 and if so can you send me a copy. Thanks.
Thank you
Harvey
hag
 
Posts: 598
Joined: Tue Apr 15, 2008 4:51 pm
Location: LOs Angeles, California

Re: zip and unzip

Postby Enrico Maria Giordano » Wed Jun 03, 2009 8:33 pm

You can't mix libraries from different Harbour versions. If hbmzip.lib isn't in your Harbour package then you don't need it. Sorry, I don't remember which libs was needed for older Harbour releases.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: zip and unzip

Postby hag » Wed Jun 03, 2009 8:36 pm

The lib was sent to me by Antonio in Aug of 2008. I jsut found it on my drive. I'll see if it works. Thanks for the help.
Thank you
Harvey
hag
 
Posts: 598
Joined: Tue Apr 15, 2008 4:51 pm
Location: LOs Angeles, California


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot], wartiaga and 92 guests