Is it possible to "intercept" a 3rd party library's "WriteFile" operation

Posted by stout on Stack Overflow See other posts from Stack Overflow or by stout
Published on 2010-05-27T16:39:37Z Indexed on 2010/05/27 16:41 UTC
Read the original article Hit count: 324

Filed under:
|
|

This is likely a long shot, but I thought I'd ask anyway. I'm using a document management system's API. They provide a "WriteFile" method to save a given document to disk. However, the library does not have a way to simply read a document into memory. My only option, it seems, is to write to disk, then read it back in again. I'm wondering if there is a better way to work around this obvious limitation.

Thanks in advance!

© Stack Overflow or respective owner

Related posts about c#

Related posts about 3rd-party-library