I'd like read write MS OLE structured storage files on the Mac.
Does Wine provide an API to achieve that?
I know the format of the file.
Thanks
-Attila
Wine API?
Re: Wine API?
I doubt. It's an office specific thing. Plain windows most likely can't parse such files. Unless you find a Windows API that does it...attilaszabo wrote:I'd like read write MS OLE structured storage files on the Mac. Does Wine provide an API to achieve that?
-
- Level 4
- Posts: 144
- Joined: Mon Jun 02, 2008 5:03 pm
Wine API?
Wine implements StgOpenStorageEx
(http://msdn.microsoft.com/en-us/library ... 85%29.aspx)
and other related API functions for accessing compound binary files.
However, to use Wine for this, you must use winelib, and this is
probably impractical. I would guess that extracting the storage code
and removing the Windows API dependencies is also impractical.
The format of structured storage files is publicly documented and
fairly simple (http://msdn.microsoft.com/en-us/library ... 13%29.aspx),
so rolling your own solution is possible, though not ideal. I was
hoping there'd be some open source library for this, but all I can
find is OpenMCDF (http://sourceforge.net/projects/openmcdf/) which
relies on .NET.
(http://msdn.microsoft.com/en-us/library ... 85%29.aspx)
and other related API functions for accessing compound binary files.
However, to use Wine for this, you must use winelib, and this is
probably impractical. I would guess that extracting the storage code
and removing the Windows API dependencies is also impractical.
The format of structured storage files is publicly documented and
fairly simple (http://msdn.microsoft.com/en-us/library ... 13%29.aspx),
so rolling your own solution is possible, though not ideal. I was
hoping there'd be some open source library for this, but all I can
find is OpenMCDF (http://sourceforge.net/projects/openmcdf/) which
relies on .NET.
Re: Wine API?
so still winelib seems the best solutionmadewokherd wrote:Wine implements StgOpenStorageEx
(http://msdn.microsoft.com/en-us/library ... 85%29.aspx)
and other related API functions for accessing compound binary files.
However, to use Wine for this, you must use winelib, and this is
probably impractical. I would guess that extracting the storage code
and removing the Windows API dependencies is also impractical.
The format of structured storage files is publicly documented and
fairly simple (http://msdn.microsoft.com/en-us/library ... 13%29.aspx),
so rolling your own solution is possible, though not ideal. I was
hoping there'd be some open source library for this, but all I can
find is OpenMCDF (http://sourceforge.net/projects/openmcdf/) which
relies on .NET.
André H. I guess you know of this one.
http://freshmeat.net/projects/libgsf/
Basically there is no need to go near .net todo it madewokherd
Anything processing old xls and doc and ppt and so on files requires a ole2 processing library of some form.
http://freshmeat.net/projects/libgsf/
Basically there is no need to go near .net todo it madewokherd
Anything processing old xls and doc and ppt and so on files requires a ole2 processing library of some form.
oiaohm wrote:André H. I guess you know of this one.
http://freshmeat.net/projects/libgsf/
sry, i didn't
-
- Newbie
- Posts: 2
- Joined: Fri Aug 05, 2011 4:17 pm
Re: Wine API?
In case I'm willing to give wine.lib a try where would I start?
Which wine package would download?
Would my code using the wine APIs and linked against the wine.lib work on windows?
Which wine package would download?
Would my code using the wine APIs and linked against the wine.lib work on windows?