Archived Forum Post

Index of archived forum posts

Question:

Problem with zip library

Jul 18 '13 at 10:12

Does anyone know why this code:

    CkZip zip;
    if( zip.OpenZip("l:\\myfile.zip") )
    {
        CkZipEntry * entry = ckzip.GetEntryByName("roy hawkes\\filedef.txt");
        if( entry )
        {
            ckzip.DeleteEntry(entry);
            delete entry;
        }
        zip.WriteZipAndClose();
    }

crashes in the DeleteEntry call with what looks like a null pointer de-reference?

Thanks for you help!


Answer

These new builds should fix the problem:

32-bit: http://www.chilkatsoft.com/preRelease/chilkat-9.4.1-x86-vc10.zip

64-bit: http://www.chilkatsoft.com/preRelease/chilkat-9.4.1-x86_x64-vc10.zip


Answer

I am having the same problem, and the links provided dont work on 2013/06/26. Can you help?