Creating an archive

Archive formats such as zip

Call PutNextEntry() to create each new entry in the archive, then write the entry's data. Another call to PutNextEntry() closes the current entry and begins the next.

For example:

    wxFFileOutputStream out(_T(""));
    wxZipOutputStream zip(out);
    wxTextOutputStream txt(zip);

    txt << _T("Some text for entry1\n");

    txt << _T("Some text for entry2\n");

ymasuda 平成17年11月19日