Page 1 of 1

compress and decompress zip files

Posted: Fri Feb 27, 2009 9:09 am
by vensanto
I have found the source for compress and decompress zip files
but i don't know how integrate into my fwppc program
please help me

Thanks,

Santo Venezia

Re: compress and decompress zip files

Posted: Fri Feb 27, 2009 9:13 am
by vensanto

Re: compress and decompress zip files

Posted: Fri Feb 27, 2009 10:26 am
by Antonio Linares

Re: compress and decompress zip files

Posted: Fri Feb 27, 2009 7:22 pm
by vensanto
Antonio
i have the follow error message:

SA.obj : error LNK2001: unresolved external symbol HB_FUN_HB_ZIPFILE
SA.EXE : fatal error LNK1120: 1 unresolved externals

Thanks

Re: compress and decompress zip files

Posted: Sat Feb 28, 2009 7:13 am
by Antonio Linares
Versanto,

Please link these libraries:
http://www.mediafire.com/?sharekey=414c ... eaa7bc68bc

Re: compress and decompress zip files

Posted: Sat Feb 28, 2009 10:09 pm
by vensanto
Antonio
I have another error message:

hbmzip.lib(hbmzip.obj) : error LNK2019: unresolved external symbol hb_snprintf referenced in function HB_FUN_HB_UNZIPFILEINFO
SA.EXE : fatal error LNK1120: 1 unresolved externals

Thanks

Re: compress and decompress zip files

Posted: Sat Feb 28, 2009 10:33 pm
by Antonio Linares
Versanto,

Please add this code to your main PRG:

Code: Select all

#pragma BEGINDUMP

int hb_snprintf( char * buffer, int bufsize, char * format, ... )
{
   snprintf( buffer, bufsize, format );

   return 0;
}

#pragma ENDDUMP
 

Re: compress and decompress zip files

Posted: Sat Feb 28, 2009 10:38 pm
by Antonio Linares
Versanto,

Better, try to use this hbcommon.lib file:
http://www.mediafire.com/?sharekey=414c ... cb2fc36a03

Re: compress and decompress zip files

Posted: Sat Feb 28, 2009 11:05 pm
by vensanto
Thanks antonio,
but the program now NOT START
why ?

thanks

Re: compress and decompress zip files

Posted: Sun Mar 01, 2009 12:54 am
by Antonio Linares
Have you tried with the above C function instead of linking the lib ?

Please check if there is a log file

Re: compress and decompress zip files

Posted: Tue Jun 21, 2011 10:57 am
by marekrz
Better, try to use this hbcommon.lib file:
http://www.mediafire.com/?sharekey=414c ... cb2fc36a03
Where can i find this lib? The link above is broken.

Re: compress and decompress zip files

Posted: Thu Jun 23, 2011 5:11 am
by Antonio Linares

Re: compress and decompress zip files

Posted: Wed Jun 29, 2011 6:58 am
by marekrz
Antonio Linares wrote:Marek,

Please try this one:
http://code.google.com/p/fivewin-contri ... b&can=2&q=
Thanks, but i think that i need some a one another library - hbmzip.lib ;-)

Re: compress and decompress zip files

Posted: Fri Aug 17, 2012 6:08 pm
by Antonio Linares
Marek,

Were you finally able to zip and unzip files using FWPPC ? thanks