Saving 2 documents in 1 file
Posted on 1999-07-22
How can I save to different doctuments in one file. To be more spicific, I want to save a bitmap file in a file followed by some other data of different kind. Now, the saving is not the problem, since I can copy the bitmap to a new file and append my data to the end of the new file. The problem is when I read the file. Since the end of bitmap is not indicated by the end of file flag (because I added my data,) how could I determine the end of the bitmap. And how could this "mixed" file work with MFC's "open document" functions, such as, for example, LoadBitmap()?