| Please contribute |
The Win32Utils project only supports the NT family of operating systems. That means Windows NT 4, Windows 2000, Windows XP Pro, Windows 2003 Server, etc.
Click on the library name on the left to go to the documentation for that library. In some cases the documentation is generic. In others it's platform specific.
Most of these libraries are pure Ruby. A few are C extensions, and require a compiler. However, even if you don't have a compiler, you can download and manually install the pre-build shared object from the download area. Look for the '.so' files.
Note that some libraries, such as win32-api and win32-service, have gems that contain prebuilt binaries so no compiler is necessary for those libraries. Just install them as you would any other gem.
Below is a quick synopsis of each library. Those that require a compiler are specifically tagged as such.
Although deprecated in favor of win32-changejournal on NTFS filesystems, this library is still maintained because not everyone uses NTFS. It also has the advantage of being pure Ruby, which may or may not be a selling point for you.
Installation: gem install win32-changenotify.
Installation: gem install win32-clipboard
For example, instead of hard coding 'C:\WINNT' you could use Dir::WINDOWS. This is a better approach, because there's no guarantee that your Windows directory is actually set to 'C:\WINNT', e.g. on some systems it's set to 'C:\WINDOWS'.
Installation: gem install win32-dir
Applications use event objects in a number of situations to notify a waiting thread of the occurrence of an event. For example, overlapped I/O operations on files, named pipes, and communications devices use an event object to signal their completion.
Installation: gem install win32-event
In addition, a wrapper for the 'mc' (message category) command line utility is provided. This allows you to create your own event source, which you can then write to.
There is also a Tutorial that describes how to create your own event source.
Installation: gem install win32-eventlog
It is unlikely that you would ever use this library directly, but it is a prerequisite for several other libraries.
Installation: gem install win32-ipc
Installation: gem install win32-mmap
You can use a mutex object to protect a shared resource from simultaneous access by multiple threads or processes. Each thread must wait for ownership of the mutex before it can execute the code that accesses the shared resource.
The Process.create method allows you to create native MS Windows processes using a variety of different configuration options.
The Process.fork implementation should be considered experimental and not used in production code.
Installation: gem install win32-process
You can find more information about the MS Sound API at http://www.microsoft.com/speech/download/old/sapi5.asp. If that address becomes defunct, just go to http://www.microsoft.com and search for 'SAPI'.
Installation: gem install win32-sapi
Installation: gem install win32-service
Installation: gem install win32-shortcut
Installation: gem install win32-sound