mfc >> Best way to archive?

by saywhat » Sun, 19 Mar 2006 21:02:43 GMT

Hi all, using VC++ 6 SP6.

I'm writing an email program. Well actually adapting a very fine package to
my needs, which handles all possible email operations.

The package comes with a nifty .lib and .dll, but the scheme it uses to save
email messages uses a distinct file for each email message.

I would like to use something a little different... as you can imagine. I
was thinking a database maybe, would that be faster than reading and parsing
a zillion small files? Or should I use a CFile object instead? I nned to
be able to handle user requests to delete previously saved emails a la
Outlook. I know progs like this use an archive file, and I need to be able
to insert/delete from the file in a similar manner.

What would be the best schema for doing this? I await the oracles'
replies.... lol

Best

b




mfc >> Best way to archive?

by Tom Serface » Tue, 21 Mar 2006 00:14:30 GMT


You could get something like DynaZip or zlib and put the files into a .zip
file. That way each individual message could be retrieved (even from
Windows), but there would only be one file to copy around.

Tom







Similar Threads

1. good c++ snippet archive

2. Best ways to source controlling "Code Snippets"

I am interested in learning how to use the VS 2005 code snippets.


However, I wish to know what are the best ways to source control the
code snippets?

Are there any source safe/subversion add-ons for this purpose?

If not, any urls which demonstrates code snippets management?


I apologize for the cross-posting. This is relative obscure question,
and wish to get as much exposure as possible.

great thanks
Frank

3. Three Ways to Marshal Data - Which is best? - CSharp/C#

4. Bali Best a Ways