THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 05/08/2008 at 09:22, xxxxxxxx wrote:
Cinema 4D Version: 10.5
Language(s) : C++ ;
I've a small problem with the ZipFile-class.
First try: Open a file and extract it in a directory.
ZipFile *myzip = ZipFile::Alloc();
if(myzip->Open(Filename(tmp), TRUE, FALSE))
if(!myzip->ExtractToDirectory(Filename(download_name.GetString(i, "corrupt") + ".zip"), GeGetPluginPath() + Filename("/tmp/"), TRUE))
MessageDialog("Could not extract");
The MessageDialog is shown.. does anyone know why?
Second try: Create a zip file and put in some files, but what method is responsible to save this zip? I can't find it...