Page 1 of 1
PureBasic Interface to WinRAR
Posted: Fri Feb 06, 2015 7:39 am
by JHPJHP
Re: PureBasic Interface to UnRAR (WinRAR)
Posted: Fri Feb 06, 2015 7:40 am
by JHPJHP
The current examples and includes were created directly from: references/unrar.h, references/unrar.c.
- ExtractArchive.pb: extracts files from an RAR archive
- ListArchive.pb: lists information from files contained within an RAR archive
I'll be adding a new example when time permits that extracts an RAR archive to memory.
-------------------------------------------------------------------
Added two test files:
- testfiles/Archive.rar
- testfiles/Password_JHPJHP.rar: password protected (JHPJHP)
Re: PureBasic Interface to UnRAR (WinRAR)
Posted: Sun Feb 08, 2015 8:58 am
by JHPJHP
Updated:
- added 1 example
-- MemoryArchive.pb: displays images extracted into memory from an RAR/CBR archive, and saved to an SQLite database
- added 1 test file
-- FuturesEnd_FCBD.cbr: comic book archive
MemoryArchive.pb: is a basic example demonstrating one method of dealing with archive files in memory; limited to images.
- FuturesEnd_FCBD.cbr (Free Comic Book of the DAY): 43.3 MB
-------------------------------------------------------------------
Updated: MemoryArchive.pb
- images are sorted using a StructureArray before being displayed
- added the ability to change between images using the less-than ( < / > ) greater-than keys
Re: PureBasic Interface to UnRAR (WinRAR)
Posted: Sun Feb 08, 2015 2:07 pm
by JHPJHP
Updated:
- renamed 1 example
-- MemoryArchive.pb to MemoryArchive1.pb
- added 1 example
-- MemoryArchive2.pb: displays images extracted into memory from an SQLite database
-------------------------------------------------------------------
Updated the example: MemoryArchive2.pb
- modified the code to load the database images to memory before displaying them
- database images are not modified from the original files, resizing occurs when they are processed to memory
Re: PureBasic Interface to UnRAR (WinRAR)
Posted: Mon Feb 09, 2015 1:58 am
by JHPJHP
Updated:
- MemoryArchive1.pb and MemoryArchive2.pb have been restructured, optimized for performance and giving more control to the user.
-- MemoryArchive1.pb: creates a unique SQLite database file from archived images first loaded into memory
-- MemoryArchive2.pb: allows the user to choose an SQLite database, loading the archived images into memory
Re: PureBasic Interface to UnRAR (WinRAR)
Posted: Tue Nov 03, 2015 11:52 am
by JHPJHP
Updated:
- replaced the binaries with the latest versions
- updated documentation and references
Re: PureBasic Interface to WinRAR
Posted: Thu Oct 26, 2017 4:26 pm
by Wolfram
I get an error "structure not found: NUMBERFMT".
Where is this structure?
PS: I'm on OSX
Re: PureBasic Interface to WinRAR
Posted: Wed Dec 12, 2018 6:31 am
by JHPJHP
Hi Wolfram,
Sorry, Windows only.
---------------------------------------
Updated:
- latest binaries (2018-12-11)
NB*: I did not do must testing, please let me know of any issues.