Just starting out? Need help? Post your questions and find answers here.
GeoTrail
Addict
Posts: 2794 Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:
Post
by GeoTrail » Wed May 30, 2007 2:04 am
I can't seem to figure this out.
How can I get the filenames of the files in a PAK file created with CreatePack() ?
I'm working on a backup feature in a program and now I'm on the restore database part and needs to be able to unpack an unknown number of files.
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
Heathen
Enthusiast
Posts: 498 Joined: Tue Sep 27, 2005 6:54 pm
Location: At my pc coding..
Post
by Heathen » Wed May 30, 2007 2:09 am
I haven't used those functions, but couldn't you just add the names to the end of the pack file?
I love Purebasic.
GeoTrail
Addict
Posts: 2794 Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:
Post
by GeoTrail » Wed May 30, 2007 2:11 am
Yeah, I was thinking the same thing just now.
But there should be a way to do this, don't you think? A feature like this should be there somewhere without the need for workarounds.
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!
Heathen
Enthusiast
Posts: 498 Joined: Tue Sep 27, 2005 6:54 pm
Location: At my pc coding..
Post
by Heathen » Wed May 30, 2007 2:13 am
GeoTrail wrote: Yeah, I was thinking the same thing just now.
But there should be a way to do this, don't you think? A feature like this should be there somewhere without the need for workarounds.
yeah, would be usefull
GeoTrail
Addict
Posts: 2794 Joined: Fri Feb 13, 2004 12:45 am
Location: Bergen, Norway
Contact:
Post
by GeoTrail » Wed May 30, 2007 12:10 pm
Thanks for the link
I'll have a look at this later today
I Stepped On A Cornflake!!! Now I'm A Cereal Killer!