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
great post. thank you for sharing..coach outlet (http://www.perfectoutlet.net)Coach Handbags (http://www.outlethandbagsforsale.com)
attilaszabo wrote:> I'd like read write MS OLE structured storage files on the Mac. Does Wine provide an API to achieve that?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...
Wine implements StgOpenStorageEx (http://msdn.microsoft.com/en-us/library/aa380342%28v=vs.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/dd942138%28v=prot.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.
madewokherd wrote:> Wine implements StgOpenStorageEx > (http://msdn.microsoft.com/en-us/library/aa380342%28v=vs.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/dd942138%28v=prot.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.so still winelib seems the best solution
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.