Releasing an OLE IStorage file handle in C#
- by Bernard Darnton
I'm trying to embed a PDF file into a Word document using the OLE technique described here:
http://blogs.msdn.com/brian_jones/archive/2009/07/21/embedding-any-file-type-like-pdf-in-an-open-xml-file.aspx
I've tried to implement to C++ code provided in C# so that the whole project's in one place and am almost there except for one roadblock. When I…