I recently had the need to read storage files and extract streams from them for a prototype. Originally I was able to do this executing StgOpenStorage via PINVOKE from .NET which worked great. However, due to time constraints and legacy code we really needed to implement this in VB6 as an added feature to an existing OCX with tons of other functionality built in.
I ended up using Desaware’s Storage Tools 2.5 to read the streams from the structured storage files which worked great. Desaware provides nice sample applications to understand how to use their API into the storage files. Pretty straight forward implementation that I was able to complete in a very reasonable amount of time.
Technorati Tags:
VB6,
APIs,
Misc