Page 1 of 1

Error HBZIP.LIB

Posted: Sun Apr 27, 2008 7:40 pm
by stefano
I've a problem with HBZIP.LIB
with the version FWh + xHb 8.03 it's OK :)
with the version 8.04 it isn't OK :cry: , the link indicates

c:\bcc55\bin\ilink32 -Gn -aa -Tpe -s -v @b32.bc
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_inflateEnd' referenced from C:\XHARBOUR\LIB\HBZIP.LIB|ziparchive
Error: Unresolved external '_deflate' referenced from C:\XHARBOUR\LIB\HBZIP.LIB|ziparchive
Error: Unresolved external '_get_crc_table' referenced from C:\XHARBOUR\LIB\HBZIP.LIB|ziparchive
Error: Unresolved external '_deflateEnd' referenced from C:\XHARBOUR\LIB\HBZIP.LIB|ziparchive
Error: Unresolved external '_deflateInit2_' referenced from C:\XHARBOUR\LIB\HBZIP.LIB|ziparchive
Error: Unresolved external '_crc32' referenced from C:\XHARBOUR\LIB\HBZIP.LIB|ziparchive
Error: Unresolved external '_inflateInit2_' referenced from C:\XHARBOUR\LIB\HBZIP.LIB|ziparchive
Error: Unresolved external '_inflate' referenced from C:\XHARBOUR\LIB\HBZIP.LIB|ziparchive
** error 2 ** deleting menu.exe

I've used the HBZIP.LIB of the version 8.04 with fwh + xHb 8.03 and it's OK

Have you any idea ? can you help me, please

Posted: Sun Apr 27, 2008 9:26 pm
by vilian

Posted: Mon Apr 28, 2008 8:27 am
by stefano
I've tooked your help, but it isn't OK

Posted: Mon Apr 28, 2008 10:11 am
by Antonio Linares
Stefano,

Are you linking hbzip.lib from April 11, 681.472 bytes ?

Posted: Mon Apr 28, 2008 10:49 am
by stefano
Yes
I task that problem is xHarbour
I have compiled with xHArbour CVS and error is

c:\bcc55\bin\ilink32 -Gn -aa -Tpe -s -v @b32.bc
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland

Error: Unresolved external '_HB_FUN___CLSACTIVE' referenced from C:\FWH\LIB\FIVEHX.LIB|FONT
** error 2 ** deleting menu.exe

and not more hbzip.lib

Posted: Mon Apr 28, 2008 10:57 am
by Antonio Linares
Stefano,

Are you using xHB commercial ?

If yes, then you need a new xHarbour beta from Patrick Mast

Posted: Mon Apr 28, 2008 1:40 pm
by stefano
No
xharboru use downloaded from FiveTech

on the web I found this group
groups.google.com/group/comp.lang.xharbour/browse_thread/thread/ab4ab6205734f9d4/1eaa9dbd1691c422?lnk=raot

Talk of a library ZLIB.LIB ? how can recover ?

regards

Posted: Mon Apr 28, 2008 8:42 pm
by Antonio Linares
Stefano,

Please download and link zlib.lib from here:
http://www.hotshare.net/file/51363-294266699c.html

Posted: Tue Apr 29, 2008 7:47 am
by stefano
Antonio,

the library zlib.lib it's OK
now the problem is hbzip.lib ...

if use update 8.04 isn't ok
[/img]http://img247.imageshack.us/img247/2097/menueb0.gif[/img]

if I use 8.04 update with hbzip.lib 8.03 all ok

for me that is good :) , you see a little :idea:

excuse. I do not know if email ok is the first with an image.

regards
Stefano

Posted: Tue Apr 29, 2008 8:00 am
by Antonio Linares
Stefano,

> if I use 8.04 update with hbzip.lib 8.03 all ok

Then it looks as a xHarbour error that surely will be fixed soon.

Posted: Tue Apr 29, 2008 8:12 am
by stefano
Antonio,

thanks

fwH + xharbour is great

the next
Stefano

Posted: Wed Apr 30, 2008 1:41 pm
by stefano
Antonio,

hbzip ins't ok :cry:

the function creates the file .zip but files are zipped 0 bytes

can correct this anomaly for vers. 8.05?

regards
Stefano

Posted: Wed Apr 30, 2008 2:25 pm
by Antonio Linares
Stefano,

We can prepare a new xHarbour build for you to test it,

Posted: Wed Apr 30, 2008 2:44 pm
by Richard Chidiak
Stefano

You can try 7z product , it is free and works excellent
It has own proprietary format (7z) but also handles zip format, very easy to use in line command utility, only one exe 7z.exe to ship with your application.
If you need a sample on how to use it let me know,

Hth

Richard


www.7z.org