into a single IStorage object to save space and to provide your users with a standard file that can be viewed with your trusted help-viewer. You can pack your entire collection of help documents, HTML files, images etc. The compound file implementation of IStorage allows you to create and manage sub-storages and streams within a storage object residing in a compound file object. Well, the most simple and powerful example of compound storage object would be good old CHM files. Yes, it does sound interesting but a bit complicated. Structured storage allows hierarchical storage of information within a single file, and is often referred to as "a file system within a file". By the way, for the latest version of this wrapper don't forget to visit here.Īccording to Microsoft, IStorage interface supports the creation and management of structured storage objects. I needed a wrapper what would allow me to easily access the internal structure of any compound storage object. Not enough for me to be lazy and enjoy my favorite programming technique of CTRL+C, CTRL+V. I discovered a couple of incomplete snippets posted in newsgroups but that was not enough. I did hope that the provided example would allow me to Read/Write files from compound storage structures. Since my knowledge of COM is limited, I thought I would simply find a snippet of code using Google. I had to be able to manipulate IStorage container from managed code. Recently I came across a very interesting problem related to IStorage interface. This articles demonstrates the use of IStorage interface in managed C# code based on a simple CHM (MSHelp 1.0) decompiler.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |