Solved

Append a file to an existing CAB file...

Posted on 1998-09-21
1
600 Views
Last Modified: 2012-08-14
Hi,

I am using microsoft CAB-SDK(FCI, FDI library) to create a program to compress and decompress files. Everything is fine till I need to have a function to append new files to an existing cab file. I can't find a way to do that. I mean, it seems like FCIAddFile can only be called after FCICreate is called, and FCICreate will destroy the contents existig in the cab file. That's what I figured. However, I think there are many compressed/zip softwares which have the append function and I am wondering how do they make it if they are using the CAB-SDK as well. Any help will be appreciated.
0
Comment
Question by:winniet
1 Comment
 
LVL 10

Accepted Solution

by:
rbr earned 100 total points
ID: 1173285
Most compress/decompress rebuild the whole archive if you append a file. To this the same way.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Visual c++ and text files 7 60
best sources to up-to-date in C++? 8 70
C++ mouse_event mouse look 7 70
Copy output image from TWindowsMediaPlayer 6 23
Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now