Strip OLE header information (MS Access / SQL Server)

Posted by crimson13 on Stack Overflow See other posts from Stack Overflow or by crimson13
Published on 2010-05-20T13:59:14Z Indexed on 2010/05/20 22:00 UTC
Read the original article Hit count: 354

Filed under:
|
|

I have a C++ application that needs to support binary database content (images, etc). When using MS Access or MS SQL Server this data is wrapped inside an OLE object. How do I strip this OLE header information? Note that I can't just look for the beginning of a specific tag as the content can be png, jpg and a whole heap of other formats. Should I use something like COleDataObject?

© Stack Overflow or respective owner

Related posts about c++

Related posts about ole