login about faq

This is most likely a simple question, but I cannot find an answer in the documentation. Classes that open a connection mostly have an IsConnected() method, but CkZip does not seem to have an IsOpen() or similar method.

Is there an alternative way of verifying that the CkZip has been initialized by either NewZip(), OpenZip() or OpenFromMemory()?

Related to above, I suppose CloseZip() can always be called, even when no file is open?

Is CloseZip() called internally once the CkZip object is destroyed?

asked Oct 21 '15 at 15:14

roan98dk's gravatar image


For the record, so far I have chosen to track open state in a local variable . Once the function exists or in the destructor, I check this variable and call CloseZip(). Though this works fine, I'd still like to have an intregrated method.

(Oct 29 '15 at 14:10) roan98dk
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

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



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



Asked: Oct 21 '15 at 15:14

Seen: 1,937 times

Last updated: Oct 29 '15 at 14:10

powered by OSQA