FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Pocket PC compress and decompress zip files
Posts: 58
Joined: Thu Oct 13, 2005 01:26 PM
compress and decompress zip files
Posted: Fri Feb 27, 2009 09:09 AM

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

Posts: 58
Joined: Thu Oct 13, 2005 01:26 PM
Re: compress and decompress zip files
Posted: Fri Feb 27, 2009 09:13 AM
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: compress and decompress zip files
Posted: Fri Feb 27, 2009 10:26 AM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 58
Joined: Thu Oct 13, 2005 01:26 PM
Re: compress and decompress zip files
Posted: Fri Feb 27, 2009 07:22 PM

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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: compress and decompress zip files
Posted: Sat Feb 28, 2009 07:13 AM

Versanto,

Please link these libraries:

http://www.mediafire.com/?sharekey=414c ... eaa7bc68bc

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 58
Joined: Thu Oct 13, 2005 01:26 PM
Re: compress and decompress zip files
Posted: Sat Feb 28, 2009 10:09 PM

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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: compress and decompress zip files
Posted: Sat Feb 28, 2009 10:33 PM
Versanto,

Please add this code to your main PRG:
Code (fw): Select all Collapse
#pragma BEGINDUMP

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

   return 0;
}

#pragma ENDDUMP
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: compress and decompress zip files
Posted: Sat Feb 28, 2009 10:38 PM

Versanto,

Better, try to use this hbcommon.lib file:

http://www.mediafire.com/?sharekey=414c ... cb2fc36a03

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 58
Joined: Thu Oct 13, 2005 01:26 PM
Re: compress and decompress zip files
Posted: Sat Feb 28, 2009 11:05 PM

Thanks antonio,
but the program now NOT START
why ?

thanks

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: compress and decompress zip files
Posted: Sun Mar 01, 2009 12:54 AM

Have you tried with the above C function instead of linking the lib ?

Please check if there is a log file

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 5
Joined: Sat Dec 22, 2007 10:18 PM
Re: compress and decompress zip files
Posted: Tue Jun 21, 2011 10:57 AM

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.
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: compress and decompress zip files
Posted: Thu Jun 23, 2011 05:11 AM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 5
Joined: Sat Dec 22, 2007 10:18 PM
Re: compress and decompress zip files
Posted: Wed Jun 29, 2011 06:58 AM
Antonio Linares wrote:Marek,

Please try this one:
http://code.google.com/p/fivewin-contributions/downloads/detail?name=hbzlib.lib&can=2&q=

Thanks, but i think that i need some a one another library - hbmzip.lib :-)
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: compress and decompress zip files
Posted: Fri Aug 17, 2012 06:08 PM

Marek,

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

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion