Page 26 of 40

Posted: Mon Nov 19, 2007 1:24 pm
by kinglestat
does pureZIP lib work under linux ?

Posted: Mon Nov 19, 2007 1:52 pm
by gnozal
kinglestat wrote:does pureZIP lib work under linux ?
No.
(Uses ZLIB static lib for windows and some API functions.)

Posted: Mon Nov 19, 2007 2:04 pm
by srod
**OFF TOPIC (apologies!)

I swear Gnozal is a machine, he can't be human!

How does one man hold down a job (family perhaps as well?) and produce, as a hobby, so much code? :shock:

Yea, he's really a multi-core multi-processor server sat in Fred's office, covered in coffee with a plant pot to one side and a dart board attached to the other for when Fred get's tired of coding!

Either that or the drugs really do work! :wink:

Thanks man.

(Sorry for the off-topic post here.)

Posted: Mon Nov 19, 2007 11:18 pm
by kinglestat
well, srod, I suspect you are just too modest ;)
both of you are just bloody geniuses
I'm just bloody.....blasted pot holes!

Posted: Tue Nov 20, 2007 1:30 pm
by Micko
kinglestat wrote:well, srod, I suspect you are just too modest :wink:
both of you are just bloody geniuses
that is what i also think
kinglestat wrote:I'm just bloody.....blasted pot holes!
me too :)

Posted: Mon Dec 31, 2007 1:48 pm
by DoubleDutch
Could you do a PB4.20B1 version of this lib, on PB4.20B1 there is a POLINK error as the Mid command has been changed?

Thanks. :)

Posted: Mon Dec 31, 2007 2:05 pm
by gnozal
DoubleDutch wrote:Could you do a PB4.20B1 version of this lib, on PB4.20B1 there is a POLINK error as the Mid command has been changed?

Thanks. :)
Sure : http://freenet-homepage.de/gnozal/PureZIP___.zip
Just recompiled with PB4.20 beta 1, not tested.

Posted: Mon Dec 31, 2007 2:08 pm
by Fangbeast
That POLINK _Mid_ problem showed up in a few other libs as well. otherwise, this pb edition seems quite stable for me.

Posted: Mon Dec 31, 2007 2:20 pm
by gnozal
Fangbeast wrote:That POLINK _Mid_ problem showed up in a few other libs as well. otherwise, this pb edition seems quite stable for me.
Yes, some other user librairies are broken.
I will release a specific PB4.20 version of my libs if needed for PB4.20 final, or for any PB4.20 beta on request.

Posted: Mon Dec 31, 2007 4:19 pm
by DoubleDutch
Thanks. :)

Posted: Mon Jan 07, 2008 2:33 am
by GeoTrail
Is it possible to add a file to an archive at a specified location?

Let's say I have a zip archive that looks like this:

Code: Select all

ROOT
  |-Folder 1
  |----File 1
  |----File 2
  |-Folder 2
  |----File 3
  |----File 4
  |-File 1
  |-File 2
Is it possible to manually add a file to the Folder 1 or Folder 2 locations inside the archive without extraction all the files?

Posted: Mon Jan 07, 2008 10:02 am
by gnozal
GeoTrail wrote:Is it possible to add a file to an archive at a specified location?
Kind of, if your file is in folder 'Folder 1' on the disk.
Example 1 :

Code: Select all

If PureZIP_Archive_Create("c:\Test.zip", #APPEND_STATUS_CREATE) 
  
  PureZIP_Archive_Compress("c:\PureBasic410\Compilers\PBCompiler.exe", #True) 
  
  PureZIP_Archive_Close() 
EndIf
;
; we have a zip file with this structure :
; PureBasic410
;    |
;    ---Compilers
;           |
;           --PBCompiler.exe
;
; Now we want to add APIFunctionListing.txt into compilers
;
If PureZIP_Archive_Create("c:\Test.zip", #APPEND_STATUS_ADDINZIP) 
  
  PureZIP_Archive_Compress("c:\PureBasic410\Compilers\APIFunctionListing.txt", #True) 
  
  PureZIP_Archive_Close() 
EndIf
; we have a zip file with this structure :
; PureBasic410
;    |
;    ---Compilers
;           |
;           --PBCompiler.exe
;           --APIFunctionListing.txt
or you could use a base directory like http://www.purebasic.fr/english/viewtop ... &start=340

Posted: Mon Jan 07, 2008 4:09 pm
by GeoTrail
Thanks gnozal.
I'll have a closer look at that tonight :

Posted: Tue Jan 08, 2008 2:18 pm
by Frontier
Hi gnozal,

Is it possible to compile your library against PB4.20b1, because it exhibits the same problem with POLINK like PurePOP3/SMTP did.

Thank you very much in advance.

Posted: Tue Jan 08, 2008 3:04 pm
by DoubleDutch
Please see link (8 posts above) :)