FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index All products support zip e unzip con fwppc
Posts: 58
Joined: Thu Oct 13, 2005 01:26 PM
zip e unzip con fwppc
Posted: Fri Feb 27, 2009 09:16 AM

Salve
ho trovato su internet sorgenti free per zip e unzip
ho provato a compilarli e vanno bene per clarm
ma non riesco ad interfacciarli con harbur_ce

http://www.eurosoftsnc.net/fivewin/zip_utils_src.zip

se qualcuno ci riesce potrebbe essere utile a tutti aggiungere la funzionalità di zip e unzip per fwppc

Grazie

Santo Venezia

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: zip e unzip con fwppc
Posted: Fri Feb 27, 2009 10:25 AM
Santo,

Please try this harbour library with FWPPC:
http://www.mediafire.com/?sharekey=414c ... 6e282a0ee8

You can use hb_ZipFile() and hb_UnzipFile ().

Code (fw): Select all Collapse
lOk := hb_ZipFile( ::cTarget  , ;
                           aFiles , ;
                           ::nCompress , ;
                           bZip  , ;
                           ::lOverwrite , ;           // overwrite
                           ::cPassword  , ;
                           ::lWithPath,;               // with path
                           ::lWithDrive  )

lOk := hb_UnZipFile( ::cZip        , ;
                            bOnUnZipFile  , ;
                            ::lWithSubDir   , ;
                            ::cPassword     , ;
                            ::cZipDir + "\" ,;
                            ::aFiles        ,;
                            ::bProgress)
regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion