开发者

How to open a file which is already open in exclusive mode?

开发者 https://www.devze.com 2023-01-18 10:08 出处:网络
I want to access a file which is already opened with exclusive access by some other process (not under my control). I know that the I/O 开发者_如何学运维manager will not grant my request, as some othe

I want to access a file which is already opened with exclusive access by some other process (not under my control). I know that the I/O 开发者_如何学运维manager will not grant my request, as some other process is holding the lock (with exclusive access).

Is there any way by which I can bypass the checks (such as file opened in exclusive mode) made by I/O manager and get access to file even if its opened in exclusive mode (CreateFile() will fail)?

Thanks.


The backup api (volume shadow copy) may help you to obtain a copy of that file.

0

精彩评论

暂无评论...
验证码 换一张
取 消