This site is moving to The Zen Source Library
Please Update your bookmarks


Opening a stream

Opening a stream is quite easy, once you have the storage that it is in call


   Storage.OpenStream(  Unicode Name,
                        Reserved must be 0,
                        STGM constants,
                        Reserved must be 0,
                        nil
                     ) : HResult;

For our simple application the streams are always in the root storage. Thus the IStorage here is the IStorage obtained by opening or creating the DocFile.

The process of opening a stream is so similar to openning a storage that I'm not going to discuss it here. If you are not






All information on these www pages is copyright (©) 1997 Andre .v.d. Merwe And may not be copied or mirrored without my permission.