For what it's worth - and it may not be helpful - I installed Visual Studio 2005 on a freshly formatted laptop, checked out and it compiled first time; can you confirm you are trying with 2005? Also, are you using a 64 bit version of Windows; do you have the correct DirectX SDK, etc..