compress a file
I need to compress a file I'm working with from a win32 application.
Current I call rar (from winrar) externally using createprocess but it's flawed.
Is there a native win32 compression package I can use to create zips?
Is anyone aware of alternative CLI zip implementation other than winzip? I can;t use winzip because it requires user interaction.
Thanks for any help,
I have previously posted a sample of using the Info-Zip library. However, if I remember correctly, it only supports file names with pure ascii characters (no ansi or unicode). This means it is of limited value.
Searching for "zip library unicode" brings up this article which looks like a good bet:
CodeProject: Zip Utils - clean, elegant, simple, C++/win32
There are various algorithms that can be found for different types of compression, alternatively use a free console zip utility, such as Info-ZIP