Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Append a file to an existing CAB file...

Posted on 1998-09-21
1
604 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

839 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