------------------------
KillMutex
READ ME
------------------------

This program, KillMutex, can be used on Windows to delete mutexes even when other processes hold open handles to them.

KillMutex works on all versions of Windows from XP to 10.

Two other programs, Process Explorer and Handle, written by Mark Russinovich and published by Sysinternals (Microsoft), can also be used for this purpose, but KillMutex does this task more conveniently from a bat file because it requires only one call.  It's also faster when used for this purpose and smaller.

KillMutex was written originally by Robert Sacks for three programs he published for gamers starting around 2005:  LottaCam, HotkeyNet, and Mojo.

The command line syntax for KillMutex is:

KillMutex mutex1 [mutex2 [mutex3 ...]]

Where mutex1, mutex2, etc., are fully qualified mutex names.  There is no limit on the number of names you can include on the command line.

Build this solution with Visual Studio 2019, platform toolset v242, C++ 14.  Nothing else is needed and there are no dependencies.

On 64-bit Windows, use a 64-bit version of this program.

You may want to manifest it "requireAdministrator".

Copyright 2005-2021 Robert Sacks. https://mojoware.org
