compress and decompress zip files

compress and decompress zip files

Postby vensanto » Fri Feb 27, 2009 9: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
User avatar
vensanto
 
Posts: 49
Joined: Thu Oct 13, 2005 1:26 pm
Location: ITALIA

Re: compress and decompress zip files

Postby vensanto » Fri Feb 27, 2009 9:13 am

User avatar
vensanto
 
Posts: 49
Joined: Thu Oct 13, 2005 1:26 pm
Location: ITALIA

Re: compress and decompress zip files

Postby Antonio Linares » Fri Feb 27, 2009 10:26 am

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 35262
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: compress and decompress zip files

Postby vensanto » Fri Feb 27, 2009 7: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
User avatar
vensanto
 
Posts: 49
Joined: Thu Oct 13, 2005 1:26 pm
Location: ITALIA

Re: compress and decompress zip files

Postby Antonio Linares » Sat Feb 28, 2009 7:13 am

Versanto,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 35262
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: compress and decompress zip files

Postby vensanto » 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
User avatar
vensanto
 
Posts: 49
Joined: Thu Oct 13, 2005 1:26 pm
Location: ITALIA

Re: compress and decompress zip files

Postby Antonio Linares » Sat Feb 28, 2009 10:33 pm

Versanto,

Please add this code to your main PRG:
Code: Select all  Expand view

#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
User avatar
Antonio Linares
Site Admin
 
Posts: 35262
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: compress and decompress zip files

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 35262
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: compress and decompress zip files

Postby vensanto » Sat Feb 28, 2009 11:05 pm

Thanks antonio,
but the program now NOT START
why ?

thanks
User avatar
vensanto
 
Posts: 49
Joined: Thu Oct 13, 2005 1:26 pm
Location: ITALIA

Re: compress and decompress zip files

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 35262
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: compress and decompress zip files

Postby marekrz » 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.
User avatar
marekrz
 
Posts: 5
Joined: Sat Dec 22, 2007 10:18 pm
Location: Poland

Re: compress and decompress zip files

Postby Antonio Linares » Thu Jun 23, 2011 5:11 am

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 35262
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: compress and decompress zip files

Postby marekrz » Wed Jun 29, 2011 6:58 am


Thanks, but i think that i need some a one another library - hbmzip.lib ;-)
User avatar
marekrz
 
Posts: 5
Joined: Sat Dec 22, 2007 10:18 pm
Location: Poland

Re: compress and decompress zip files

Postby Antonio Linares » Fri Aug 17, 2012 6:08 pm

Marek,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 35262
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 1 guest