Bring back PackerCallback()

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
jassing
Addict
Addict
Posts: 1745
Joined: Wed Feb 17, 2010 12:00 am

Bring back PackerCallback()

Post by jassing »

Online docs: http://www.purebasic.com/documentation/ ... lback.html
not in current (installed) docs, or current beta as a function
User avatar
DeanH
Enthusiast
Enthusiast
Posts: 223
Joined: Wed May 07, 2008 4:57 am
Location: Adelaide, South Australia
Contact:

Re: Bring back PackerCallback()

Post by DeanH »

SQLite databases my customers have can be very large ... well over 150Mb. Unfortunately the Packer functions for compressing and decompressing these files cannot show progress. Users and and wait and give up. I have been forced to use external zip/unzip software such as LHA and 7 zip for this reason. Prior to version 5, PureBasic contained a PackerCallback function. It was useful for producing a progressbar when compressing or decompressing very large files. Would it be possible to re-introduce PackerCallback to work with the current formats? Or have an alternative like HttpProgress or something else?
jassing
Addict
Addict
Posts: 1745
Joined: Wed Feb 17, 2010 12:00 am

Re: Bring back PackerCallback()

Post by jassing »

Any chance anyone has a hack/workaround for this? Or is it just out & need to use 3rd party compressor?

If I use an older version fo PB that supported packercallback, could I build a dll with that version to do the compressing/callback and call it from current PB version? (yea, I will probably try this tonight)
Post Reply