V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
tommark
V2EX  ›  程序员

用 c++怎么查看哪个进程占用了或锁住了某个文件?

  •  
  •   tommark · 2014-07-18 14:30:36 +08:00 · 4480 次点击
    这是一个创建于 3577 天前的主题,其中的信息可能已经有所发展或是发生改变。
    如题,运行平台是windows 7 和 windows server 2008
    3 条回复    2014-07-18 17:06:26 +08:00
    shyrock
        1
    shyrock  
       2014-07-18 15:52:34 +08:00
    用这个rstrtmgr.dll。
    tommark
        2
    tommark  
    OP
       2014-07-18 16:26:26 +08:00
    @shyrock 请问能说一下这个怎么用吗?
    shyrock
        3
    shyrock  
       2014-07-18 17:06:26 +08:00
    Restart Manager API。本来是为了给安装包程序解除文件锁定用的。。。你感受下
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2320 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 09:18 · PVG 17:18 · LAX 02:18 · JFK 05:18
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.