login about faq

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!

asked Apr 23 '13 at 12:15

Roy's gravatar image

Roy
1111


link

answered Apr 24 '13 at 09:50

chilkat's gravatar image

chilkat ♦♦
11.8k316358420

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

link

answered Jun 27 '13 at 12:28

GTG's gravatar image

GTG
1

The chilkatsoft.com site recently migrated to a more powerful/better server and that is what caused some of the pre-release downloads to disappear. I'll re-upload and will post here when ready..

(Jun 27 '13 at 12:38) chilkat ♦♦

OK, the new builds are available again..

(Jun 27 '13 at 13:11) chilkat ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×20

Asked: Apr 23 '13 at 12:15

Seen: 1,116 times

Last updated: Jul 18 '13 at 10:12

powered by OSQA