Troubleshooting OpenSSH installation problems

Problem description

After what seemed to be a successful installation of OpenSSH for Windows on a WinXP workstation, my attempts to connect to the new SSH server had all failed. When I checked the services management window, I noticed that the OpenSSHd service was not running. Trying to manually start this service was also unsuccessfull. This is the message I got:
"Could not start the OpenSSH Server service on Local Computer. Error 1067: The process terminated unexpectedly."

The Solution

It turns out that the OpenSSHd service has a log file (at: <openssh-dir>\var\log\OpenSSHd.log) where error messsages are recorded. A quick look at the log file revealed the source of the problem:
d:\Program files\OpenSSH\usr\sbin\sshd.exe (3168): *** cygheap version mismatch detected - 0x616D0000/0x61780000.
You have multiple copies of cygwin1.dll on your system.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version *should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.
When I searched the local drives I found out that, indeed, I had a newer version of cygwin1.dll somewhere on my machine.
Copying this file to d:\Program files\OpenSSH\bin solved the probelm.