Masterxilo Posted March 14, 2010 Share Posted March 14, 2010 I recently installed the latest windows sdk (7.0). But the environment variable/"macro" $(WindowsSdkDir) from msvc still points to the old location ("C:\Program Files\Microsoft SDKs\Windows\v6.1\" instead of "C:\Program Files\Microsoft SDKs\Windows\v7.0\"). I executed all C:\Program Files\Microsoft Visual Studio 9.0\Common7\Tools\vsvars32.bat, C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat and C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat (I think this should be the only one that has to be run.) with admin privileges. From what I know, these should update the variable from the registry "HKLM\SOFTWARE\Microsoft\Microsoft SDKs\Windows\CurrentInstallFolder", where the correct current install folder is stored (I checked). But even after running these the WindowsSdkDir variable still points to the old location. Any ideas? Quote Hurricane-Eye Entertainment - Site, blog. Link to comment Share on other sites More sharing options...
wh1sp3r Posted March 14, 2010 Share Posted March 14, 2010 try Tools->Options->Project and Solutions->VC++ Directories .. you can change it there + delete old one .. EDIT: ah .. it's about variable, damn, don't know Quote -= Phenom II X4 965 3.4Ghz - ATI HD5870 - 6 GB DDR3 RAM - Windows 8 Pro 64x=- Website: http://www.flamewarestudios.com Link to comment Share on other sites More sharing options...
Masterxilo Posted March 14, 2010 Author Share Posted March 14, 2010 Yes I know I could manually ad the new folder and delete the old one, but I want to use the variable. Nvm. I found and solved the problem. For some reason the variable updating batch file looks up the vars at HKCU (looks like it's not allowed to read from HKLM), but the installation only updated the values in HKLM. I copied those over and it works fine now. Quote Hurricane-Eye Entertainment - Site, blog. Link to comment Share on other sites More sharing options...
Masterxilo Posted March 14, 2010 Author Share Posted March 14, 2010 The included ribbon framework is really cool: Quote Hurricane-Eye Entertainment - Site, blog. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.