Page 1 of 1

zipfiles

Posted: Thu Nov 23, 2006 12:29 am
by Silvio
I tryed to compile testuzip.prg
but it make errors
I also insert into file batch hbzip.lib but the compilation not found these functions

Code: Select all

[1]:iLink32.Exe -Gn -aa -Tpe -s @testuzip.bcl
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_HB_FUN_UNZIPFILE' referenced from C:\WORK\FWH\SAMPLES\OBJ\TESTUZIP.OBJ
Error: Unresolved external '_HB_FUN_ISZIP' referenced from C:\WORK\FWH\SAMPLES\OBJ\TESTUZIP.OBJ
Error: Unresolved external '_HB_FUN_GETFIRSTINZIP' referenced from C:\WORK\FWH\SAMPLES\OBJ\TESTUZIP.OBJ
Error: Unresolved external '_HB_FUN_GETNEXTINZIP' referenced from C:\WORK\FWH\SAMPLES\OBJ\TESTUZIP.OBJ
Error: Unresolved external '_HB_FUN_CLOSEZIPFILE' referenced from C:\WORK\FWH\SAMPLES\OBJ\TESTUZIP.OBJ
How I can compile it ?

Posted: Thu Nov 23, 2006 6:23 am
by Paco Garcia
Hello Silvio

See you this link

http://fivetechsoft.com/forums/viewtopi ... ht=litezip

I make the wraper to two dlls

A greeting

Posted: Thu Nov 23, 2006 2:32 pm
by Silvio
Paco thanks but I have this old program and I want use it

Antonio,
I have compiled also testunzip.prg of fwh and I insert hbzip on batch compilation

the procedure not compile it and it make errors

Posted: Thu Nov 23, 2006 4:40 pm
by Antonio Linares
Silvio,

FW 16 bits ZIP functions are not available in FWH, because we were using an external library that its not available for 32 bits.

Posted: Thu Nov 23, 2006 4:59 pm
by Silvio
good Mr Linares,
i want use 32 bit code... but

I have try to compile your testzip.prg and testuzip.prg

these files are in fwh\samples directory

I use into batch file also hbzip.lib

I need these functions

iszip()
getfirstinzip()
getnextinzip()
closezipfile()
unzipfile()


Can you explain me How I can use it ?