测试(使用中的)锁定文件? [英] Test for (in use) locked files?
本文介绍了测试(使用中的)锁定文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
推荐答案
否
您可以使用 处理实用程序以查找是否在进程中打开了文件.
You can use the HANDLE utility to find if a file is opened in a process.
如果您想通知其他应用程序您正在使用文件,或者检查是否有任何应用程序宣布它们正在使用您感兴趣的文件,请检查IFileIsInUse
If you want to notify other applications that you are using a file, or check if there is any application who announced that they are using a file you are interested in, check IFileIsInUse
这篇关于测试(使用中的)锁定文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文