MicroPack.pbi - pack files and dirs, with filenames
- Rook Zimbabwe
- Addict
- Posts: 4322
- Joined: Tue Jan 02, 2007 8:16 pm
- Location: Cypress TX
- Contact:
Oh, the last code I posted was for Wolf to fix that Unicode issue
. I don't think you can use it because it was meant to pack only 1 file and you need to pack more. You gotta use the other code that packs all files recursively (see MicroPack.pbi in the first post).

None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)
Add an space to selected line
Now worked, thank you Inf0Byt3Inf0Byt3 wrote:Could you please try this code?
........

About first post:
Its really nice code but unfortunately have some bug....
Test:
Before:
697 Files, 21 Folders
30.4 MB (31,894,345 bytes)
After:
688 Files, 20 Folders
30.4 MB (31,894,345 bytes)
Not including hidden and system attribute files and too empty files and folders as you say, but i think its weakness!
Another problem, when compile this source at above test at end get this error:
[ERROR] This memory buffer is not initialized (null).
At this line:
WriteData(FileOut,*File,Size)