By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,052 Members | 1,231 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,052 IT Pros & Developers. It's quick & easy.

Native Support for OLE Structured Storage

P: n/a
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?
Nov 22 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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" <an*******@discussions.microsoft.com> wrote in message
news:72**********************************@microsof t.com...
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?
Nov 22 '05 #2

P: n/a
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
Nov 22 '05 #3

P: n/a
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" <an*******@discussions.microsoft.com> wrote in message
news:20**********************************@microsof t.com...
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

Nov 22 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.