difficulty with ole_type = 'b'

I've found your site useful and I've taken several examples from there and tried to pull them into a single program for some conversion work we're doing. I seem to be having difficulty with the OLE_TYPE = 'b' documents.

I can extract the data to a file, append the LZW magic number and get a valid uncompress, but the document won't open in Word. I'm pretty sure that the file is valid (it will open through Portal/J), and I can see valid content in the file (from the strings command), but I'm not sure what's keeping it from opening in Word.

I found a program that displays OLE container information (http://sourceforge.net/projects/mvole) and it can display information about the file without errors. Any ideas on how to get over the final hump?

Once I get the programs finished and debugged, I plan on submitting them back to the site (since the site helped me write them in the first place).






Attachment "OleReader.tar.gz" is part of post "OLE reading code" made in January 2010. -webmaster

AttachmentSize
OleReader.tar.gz20.07 KB

Reply