Who's Locking? v1.3

Environment: VC6 SP3, NT4 SP5, Windows 95, Windows 98

Have you ever tried to copy a DLL and had an "Access Denied" or "Shared Violation" error? Did you have to reboot everytime you needed to upgrade a DLL?

If yes, this program is for you!

Who'sLocking? is a a devpt/system management tool to find which process is locking a DLL.

Whenever a process loads a module (DLL), it locks the DLL and no other process can delete and/or write in it: you get "Sharing Violation" errors (or "Access Denied").

Once you know the name of the process who's locking your DLL, you can stop this process and have full access to the DLL module. There's no need to reboot your system anymore...


PROGRAM FEATURES

  • Integrated in Windows Shell (right-mouse menu on DLL, OCX, or EXE files).
  • Automatic installation/registration when launched first time.
  • 1 parameter: name of executable module to search (DLL, OCX)
  • Display list of processes who are locking a DLL (if DLL is loaded by multiples processes)
  • Displays process name, PID, executable pathname (if applicable), and service name (if applicable)


INSTALLATION

The program registers itself in the Windows Shell when you start it the first time.

  • Double-click on the program WhoSLocking.exe
  • Click on the OK button to exit.


USAGE

To use this program:

  • In Windows Explorer, select on a locked module file.
  • Click on right-mouse button
  • In the menu, select option "Who's Locking?"

  • A dialog box pops-up, showing the list of processes who are locking the module file (if any).

  • Double-click on a process and a dialog box pops-up to enable you to stop the process locking the DLL (gently if it is a Windows NT Service, or forcefully if it's not: it will terminate the process).

  • Click on the OK button and a dialog box pops-up to tell you if the process has been stopped:


IMPLEMENTATION

The WhoSLocking program uses a several C++ class from my Simple Library:

  • CSimpleProcessAPI: builds process/module list, finds the process who's locking a module and terminates the process.
    This class is reusable (no GUI stuff in it) and runs on both Windows NT and Windows 98. Please refer to the CSimpleProcessAPI.html file for more details.
  • CServiceManager: stops the Windows NT Service.
    This class is reusable but runs only on Windows NT. Please refer to the CServiceManager.html file for more details.
  • CWindowsRegistry: Easier access to the Windows Registry.
    Please refer to the CWindowsRegistry.html file for more details.


Downloads

Download runtime - 99 Kb
Download source - 105 Kb


Comments

  • Erectile Dysfunction - Is There a Method to Prevent It?

    Posted by alieffifielm on 06/21/2013 03:55am

    What is erectile dysfunction and how it can usually be treated? This results in over consumption leading to health hazards [url=http://rxhealth.pw ] source viagra [/url] find additional Erectile Disorder Treatment - Alternatives

    Reply
  • Chemise Burberry

    Posted by Wrinalertiece on 04/29/2013 11:41pm

    Chemise Burberry homme Chemise Burberry Femme Chemise Burberry burberry homme [url=http://burberryhommepascher97.webnode.fr/]burberryhommepascher97.webnode.fr[/url] , burberry homme [url=http://burberryhommepascher97.webnode.fr/]burberryhommepascher97.webnode.fr[/url] , burberry homme

    Reply
  • Peculiar editorial provides the facts on the nike that experts claim only a few persons are aware of.

    Posted by icoppyapedcap on 04/24/2013 04:48am

    UgxQyjJikMtz [url=http://www.nikeyasuijp.com/]ナイキゴルフ[/url]ZijVbeKzcPcs [url=http://www.nikeyasuijp.com/nike-air-force1エアフォース1-c-14.html]nike air force[/url]PhvUjcPueBpy [url=http://www.nikeyasuijp.com/nike-air-maxエアマックス-c-12.html]ナイキランニング[/url]WdmMbnDnsHxx [url=http://www.nikeyasuijp.com/nike-air-jordanエア-ジョーダン-c-13.html]nike free[/url]QqnYecEahGub

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Download the Information Governance Survey Benchmark Report to gain insights that can help you further establish business value in your Records and Information Management (RIM) program and across your entire organization. Discover how your peers in the industry are dealing with this evolving information lifecycle management environment and uncover key insights such as: 87% of organizations surveyed have a RIM program in place 8% measure compliance 64% cannot get employees to "let go" of information for …

  • Live Event Date: May 6, 2014 @ 1:00 p.m. ET / 10:00 a.m. PT While you likely have very good reasons for remaining on WinXP after end of support -- an estimated 20-30% of worldwide devices still are -- the bottom line is your security risk is now significant. In the absence of security patches, attackers will certainly turn their attention to this new opportunity. Join Lumension Vice President Paul Zimski in this one-hour webcast to discuss risk and, more importantly, 5 pragmatic risk mitigation techniques …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds