After having had a fun (?) afternoon trying to rebuild my development environment for Drupal after installing Windows 7 I think I've finally cracked it. As a note to myself, and for anyone else who stumbles across this page, this is what I had to do to get it working...