I'm looking for a compiled version of bitcoin before v0.4.0 for Windows. I've found the source code, but bringing all the dependencies together is proving difficult. Is there an archive of compiled older versions of the bitcoin client?
I have a copy of a compiled version 0.1.0 if that's close enough for you. Sent me a pm containing your email address if you want me to email it as an attachment.
It can't connect to today's network. However, I can't remember where I downloaded it, so if you use it make sure you run it in an offline virtual machine.
If you want to use it to recover coins from a very old wallet.dat file then it's no use. To do that you need to use a version with a debug window to export the private keys. Version 0.7.0 was the first version to have a debug window. It's also old enough to read the old wallet.dat file format that the earliest bitcoin wallets used. After you get the private keys you can import them into a modern wallet and use that to spend the associated coins.
You can download Version 0.7.0 from the elgius mining pool that's run by the Bitcoin Core developer called
Luke-Jr.
http://eligius.st/~luke-jr/programs/bitcoin/files/http://eligius.st/~luke-jr/programs/bitcoin/files/bitcoin-qt/0.7.0/