A free Windows-compatible Operating System - mirrored from GitHub
Go to file
Colin Finck ba0c8c84e6 - Cast the OutputBuffer to a byte (UCHAR) array, not a ULONG array, so adding a byte offset to its address works as expected.
This fixes the extraction of any file, which is not the first file in the cabinet.
- I don't see a reason for reading the file name in 32 byte chunks in ReadString() instead of reading it completely in one call.
  As the previous algorithm was buggy for files longer than 32 characters, I read the file name string completely now.
  Cabman is now able to extract the "reactos.cab" it created itself without any problems :-)
- Simplify CreateSimpleCabinet() a bit

svn path=/trunk/; revision=32165
2008-02-06 18:30:15 +00:00
irc * refactor the code to make it more OOP and extensible 2007-12-10 19:08:13 +00:00
reactos - Cast the OutputBuffer to a byte (UCHAR) array, not a ULONG array, so adding a byte offset to its address works as expected. 2008-02-06 18:30:15 +00:00
rosapps - Fix typo 2008-02-05 19:27:03 +00:00
rostests These files still included the now non-existent "resource.h" files. 2008-01-17 15:22:18 +00:00
wallpaper Re-add the "lake.bmp" wallpaper inclusion (partly imported from the deleted 0.3.1 branch, r26044) 2007-06-21 15:23:49 +00:00