Compound Files
Although you can implement your own structured storage objects and interfaces,
OLE provides a standard implementation called Compound Files. Using Compound
Files saves you the work of coding your own implementation of structured
storage and confers several additional benefits derived from adhering to a
defined standard. These benefits include the following:
-
File-system and platform independence. Since OLE’s Compound Files
implementation runs on top of existing flat file systems, compound files
stored in FAT, NTFS, or the Macintosh file systems can be opened by
applications using any one of the others.
-
Browsability. Since the separate objects in a compound file are saved in a
standard format and can be accessed using standard OLE interfaces and APIs,
any browser utility using these interfaces and APIs can list the objects in
the file, even though the data within a given object may be in a proprietary
format.
-
Access to certain internal data. Since the Compound Files implementation
provides standard ways of writing certain types of data &emdash; summary
information, for example &emdash; applications can read this data using OLE
interfaces and APIs.