I had to spend quite some efforts to be able to setup the right environment to recompile D-Rats on Windows.
At first I was doing this just on Windows 7, but the resulting exe was not working on XP and Vista due to a change into the system .dll structure done by Microsoft over the time.
So In order to be able to have an exe compatible with the older versions I had to get a Windows XP machine (actually I used a Windows 7 64 professional running a Virtual PC "XP mode").
On this the minimum install:
to install the following:
I also got the source code of D-Rats 0.3.4 into c:\git\ and used then the distXP.bat batch to create the compiled distribution