Compiling on VS2008 with latest Windows SDK 7.1

Hi, here is my 2mn take just to give you the how to:

b download latest Windows SDK[/b]
microsoft.com/downloads/dlx/ … 9fa782d63b

The SDK version is now 7.1

(2) in order to use it for Panda3D build, you simply need to edit 2 files

makepanda.py

# Enables Windows 7 mode if SDK is detected.
platsdk = GetRegistryKey("SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows\\v7.0", "InstallationFolder")

replace it with

# Enables Windows 7 mode if either SDK 7.1 or 7.0 is detected.
platsdk = GetRegistryKey("SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows\\v7.1", "InstallationFolder")
if not platsdk:
   platsdk = GetRegistryKey("SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows\\v7.0", "InstallationFolder")

makepandacore.py

def SdkLocateMSPlatform():
    if (sys.platform != "win32"): return
    platsdk = GetRegistryKey("SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows\\v7.1", "InstallationFolder")
    if not platsdk:
       platsdk = GetRegistryKey("SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows\\v7.0", "InstallationFolder")