Native Support for OLE Structured Storage

G

Guest

I use structured storage to store large amounts of data in various streams. I realize that I can call structured storage through a wrapper in .NET, but I'm concerned that there is a performance issue if large amounts of data are passed through the wrapper

Does anyone know what is the peformance penalty of writing streams via a wrapper to the Structured Storage COM object? Does .NET intend to support Structured Storage natively instead of through a wrapper to COM?
 
K

Klaus H. Probst

I doubt Microsoft is going to give you something native to work with.
Structured storage is after all COM-specific. I don't know about the
overhead, but I doubt it's higher than just going from C++ to C#.

There are open source libraries that are capable of reading and writing to
doc files... maybe you could port them to .NET. I know at least Perl and
Python have such things.

--
____________________
Klaus H. Probst, MVP
http://www.vbbox.com/

Edmond Neo said:
I use structured storage to store large amounts of data in various
streams. I realize that I can call structured storage through a wrapper
in .NET, but I'm concerned that there is a performance issue if large
amounts of data are passed through the wrapper.
Does anyone know what is the peformance penalty of writing streams via a
wrapper to the Structured Storage COM object? Does .NET intend to support
Structured Storage natively instead of through a wrapper to COM?
 
G

Guest

Our existing application has structured storage files that contain 10's to 100's of Megabytes. I was afraid that marshalling the data from .NET to COM would be expensive when we start migrating our application to .NET. There is a company called JISYS which has a beta of native .NET structured storage, but I'm wary of non Microsoft supported software for this component

Can you point me to the open source libraries for reading and writing to doc files that you emntioned

Thanks
 
K

Klaus H. Probst

Hi Edmond,

wvlib (http://www.wvware.com) is a GPL'ed toolkit (last time I looked) that
can read/write to structured storage docs. Perl has a OLE::Storage lib that
does the same thing.

I was almost sure I've seen something like it for Python but I can't
remember where.

--
____________________
Klaus H. Probst, MVP
http://www.vbbox.com/

Edmond Neo said:
Our existing application has structured storage files that contain 10's to
100's of Megabytes. I was afraid that marshalling the data from .NET to COM
would be expensive when we start migrating our application to .NET. There
is a company called JISYS which has a beta of native .NET structured
storage, but I'm wary of non Microsoft supported software for this
component.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top