compress and decompress zip files

Post Reply
User avatar
vensanto
Posts: 54
Joined: Thu Oct 13, 2005 1:26 pm
Location: ITALIA
Contact:

compress and decompress zip files

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

Re: compress and decompress zip files

Post by vensanto »

User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: compress and decompress zip files

Post by Antonio Linares »

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
vensanto
Posts: 54
Joined: Thu Oct 13, 2005 1:26 pm
Location: ITALIA
Contact:

Re: compress and decompress zip files

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

Re: compress and decompress zip files

Post by Antonio Linares »

Versanto,

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

Antonio Linares
www.fivetechsoft.com
User avatar
vensanto
Posts: 54
Joined: Thu Oct 13, 2005 1:26 pm
Location: ITALIA
Contact:

Re: compress and decompress zip files

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

Re: compress and decompress zip files

Post 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
 
regards, saludos

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

Re: compress and decompress zip files

Post by Antonio Linares »

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
vensanto
Posts: 54
Joined: Thu Oct 13, 2005 1:26 pm
Location: ITALIA
Contact:

Re: compress and decompress zip files

Post by vensanto »

Thanks antonio,
but the program now NOT START
why ?

thanks
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: compress and decompress zip files

Post by Antonio Linares »

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

Re: compress and decompress zip files

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

Re: compress and decompress zip files

Post by Antonio Linares »

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
marekrz
Posts: 5
Joined: Sat Dec 22, 2007 10:18 pm
Location: Poland

Re: compress and decompress zip files

Post 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 ;-)
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: compress and decompress zip files

Post by Antonio Linares »

Marek,

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

Antonio Linares
www.fivetechsoft.com
Post Reply