It is currently Sun Aug 18, 2019 1:52 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: PureBasic Interface to WinRAR
PostPosted: Fri Feb 06, 2015 7:39 am 
Offline
Addict
Addict
User avatar

Joined: Sat Oct 09, 2010 3:47 am
Posts: 1572
-----------------------------------------------------------------------------------

Download PureBasic Interface to WinRAR from My PureBasic Stuff

-----------------------------------------------------------------------------------

Tricks 'n' Tips
PureBasic Interface to OpenCV
PureBasic Interface to WinDivert
PureBasic Interface to WinRAR
PureBasic Interface to 7-Zip
PureBasic Interface to ImDisk
Windows Services & Other Stuff
Invading Space Aliens
Death Star vs Asteroids
GIF Toolkit
LSB File Embedding
Spider Web Drawing
Deform Image: MLS
Video Snipping Tool
Image Waves: LUT
HTML5 YouTube Player
HTML5 MP4 Player
Barcode Generator
Embed JS into PureBasic
Geolocation: Google Maps
Book & Viewer & Magnify
Video for Windows: VfW
Alternate Console
Network Share Management

-----------------------------------------------------------------------------------

TESTED ( PureBasic 5.24 - 5.62 )
- Windows 7, Windows 8, Windows 10

INCLUDED
- 4 examples, 4 includes

- UnRAR 5.61.100.2835:
-- unrar.dll, unrar.lib, unrar_nocrypt.dll, unrar_nocrypt.lib
-- unrar64.dll, unrar64.lib, unrar64_nocrypt.dll, unrar64_nocrypt.lib
-- 19 HTM files, unrar.h, unrar.c, license.txt

-----------------------------------------------------------------------------------

EXAMPLES
- ExtractArchive.pb
-- extracts files from an RAR archive
- ListArchive.pb
-- lists information from files contained within an RAR archive
- MemoryArchive1.pb
-- displays images extracted into memory from a CBR archive, saved to an SQLite database
- MemoryArchive2.pb
-- displays images extracted into memory from an SQLite database

_________________

I will be unreachable from the forum for an indefinite period; downloads moved to My PureBasic Stuff.
_________________


Last edited by JHPJHP on Thu Jun 06, 2019 7:00 am, edited 76 times in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic Interface to UnRAR (WinRAR)
PostPosted: Fri Feb 06, 2015 7:40 am 
Offline
Addict
Addict
User avatar

Joined: Sat Oct 09, 2010 3:47 am
Posts: 1572
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)

_________________

I will be unreachable from the forum for an indefinite period; downloads moved to My PureBasic Stuff.
_________________


Last edited by JHPJHP on Tue Apr 10, 2018 6:17 pm, edited 11 times in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic Interface to UnRAR (WinRAR)
PostPosted: Sun Feb 08, 2015 8:58 am 
Offline
Addict
Addict
User avatar

Joined: Sat Oct 09, 2010 3:47 am
Posts: 1572
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

_________________

I will be unreachable from the forum for an indefinite period; downloads moved to My PureBasic Stuff.
_________________


Last edited by JHPJHP on Mon Feb 09, 2015 1:35 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic Interface to UnRAR (WinRAR)
PostPosted: Sun Feb 08, 2015 2:07 pm 
Offline
Addict
Addict
User avatar

Joined: Sat Oct 09, 2010 3:47 am
Posts: 1572
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

_________________

I will be unreachable from the forum for an indefinite period; downloads moved to My PureBasic Stuff.
_________________


Last edited by JHPJHP on Mon Feb 09, 2015 3:04 am, edited 4 times in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic Interface to UnRAR (WinRAR)
PostPosted: Mon Feb 09, 2015 1:58 am 
Offline
Addict
Addict
User avatar

Joined: Sat Oct 09, 2010 3:47 am
Posts: 1572
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

_________________

I will be unreachable from the forum for an indefinite period; downloads moved to My PureBasic Stuff.
_________________


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic Interface to UnRAR (WinRAR)
PostPosted: Tue Nov 03, 2015 11:52 am 
Offline
Addict
Addict
User avatar

Joined: Sat Oct 09, 2010 3:47 am
Posts: 1572
Updated:
- replaced the binaries with the latest versions
- updated documentation and references

_________________

I will be unreachable from the forum for an indefinite period; downloads moved to My PureBasic Stuff.
_________________


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic Interface to WinRAR
PostPosted: Thu Oct 26, 2017 4:26 pm 
Offline
Enthusiast
Enthusiast

Joined: Thu May 30, 2013 4:39 pm
Posts: 440
I get an error "structure not found: NUMBERFMT".
Where is this structure?

PS: I'm on OSX


Top
 Profile  
Reply with quote  
 Post subject: Re: PureBasic Interface to WinRAR
PostPosted: Wed Dec 12, 2018 6:31 am 
Offline
Addict
Addict
User avatar

Joined: Sat Oct 09, 2010 3:47 am
Posts: 1572
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.

_________________

I will be unreachable from the forum for an indefinite period; downloads moved to My PureBasic Stuff.
_________________


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye