• 请不要在回答技术问题时复制粘贴 AI 生成的内容
tommark
V2EX  ›  程序员

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

  •  
  •   tommark · Jul 18, 2014 · 5238 views
    This topic created in 4406 days ago, the information mentioned may be changed or developed.
    如题,运行平台是windows 7 和 windows server 2008
    3 replies    2014-07-18 17:06:26 +08:00
    shyrock
        1
    shyrock  
       Jul 18, 2014
    用这个rstrtmgr.dll。
    tommark
        2
    tommark  
    OP
       Jul 18, 2014
    @shyrock 请问能说一下这个怎么用吗?
    shyrock
        3
    shyrock  
       Jul 18, 2014
    Restart Manager API。本来是为了给安装包程序解除文件锁定用的。。。你感受下
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   930 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 22ms · UTC 19:35 · PVG 03:35 · LAX 12:35 · JFK 15:35
    ♥ Do have faith in what you're doing.