nxSoftware

Information.


23/04/2010.

comDoc version 1.3 released.
 

comDoc...

comDoc is a freely available open-source utility (coded in Purebasic) which wraps the Windows Compound File COM api (structured storage).

comDoc allows applications to create proprietary documents which act like an entire file system in that a single document can contain any number of disparate 'files'. Each such document itself occupies just a single disc file (regardless of how many 'files' it contains!)

For example, imagine a word processing application. Such an application may wish to save not just the text entered by the user within it's documents, but it may also need to save images, charts, spreadsheets and so on within the same document and in such a way that each separate image or chart etc. can easily be retrieved and altered etc. This is exactly what comDoc facilitates.

Main features of comDoc:

  • x86 and x64 compatible
  • Unicode compatible
  • Simple to use OOP api
  • Create disc-based or memory-based documents
  • Create new 'files' in individual documents
  • Delete files from individual documents
  • Enumerate all items in a compound document
  • An extensive list of methods for working with individual files (ReadByte(), ReadWord(), ... WriteByte(),... WriteString()... etc.)
  • Batched error reporting. Saves checking for errors after each individual write operation etc.


The download includes all of the comDoc source-code, a full suite of demo programs and a ReadMe text file. There is no help manual because the utility is easy to use and the various demo programs cover just about every aspect of the library.

Note that comDoc requires Windows 2000 or later.

Enjoy!