473,407 Members | 2,314 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Native Support for OLE Structured Storage

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
3 2105
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: tlviewer | last post by:
hello, In honor of the chm exploit that I got hit by last week, I trying to code some ActivePython to list the directory inside a CHM. CHM is supposed to be structured storage (ITSF). If a...
3
by: Edmond Neo | last post by:
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...
4
by: David Groves | last post by:
Are there any plans to incorporate a native C# facility to deal with the OLE Structured Storage concept? It's clumsy at best to have to construct a C++ interface to the .doc files (or any such...
4
by: Ole Christensen | last post by:
Hi, Anyone knows a way to store variables between running a program in the Framework envirronment instead of using e.g. the registry database under windows? Is it e.g. possible to store the...
10
by: Dave | last post by:
Has anyone out there managed to create a structured storage file using pure VB.Net? Specifically; with the API function StgCreateStorageEx? If so, could you post a working example here please. One...
1
by: Gerald Hernandez | last post by:
The .NET Framework is huge, and either this isn't in there, or I'm just missing it... Are there any built-in methods to work with OLE2 Structured Storage files? Or am I stuck with using COM...
3
by: Dwight | last post by:
I need to be able to read and create Structured Storage Files. I have not been able to find anything about this except for C++, which I do not know. currently i'm using a DOC viewer (eDoc) just to...
2
by: ERE | last post by:
I'd like to encapsulate several files -- mostly graphics files -- as a single file. Does .NET provide a convenient way to do this? COM provided structured storage -- but I definitely don't want...
3
by: Gregory Gadow | last post by:
Is there a way to create structured files in .NET 2.0? Essentially, I want to take a hierarchic web site and convert it to a single, navigatable file similar to the compiled help, but using my own...
7
by: Russell Mangel | last post by:
/* Hi, I am trying to hold a reference to un-managed pointer IStorage. The client/callers will make many accesses to IStorage, but only in-directly. For performance reasons IStorage needs to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.