Have you downloaded the MDSN library, windows SDK and DirectX SDK?