Vista toolchain for visual studio 2005 under XP

Hi. I have VC++ 2005 project that seems to be work under many platforms. In particular it uses
#include <mmdeviceapi.h>
and it seems to be related to vsta SDK
http://forum.zdoom.org/viewtopic.php?f=2&t=24920
so i wonder
1) how to install appropriate toolchain to be able to build to target platform Vista/Win7
2) how to update files of project in proper way to compile by default for target platform = host platform?
Last edited on
OK. As i understand there is one toolchain for all versions of windows. It's Windows SDK. I've installed it to host, also
created line in vsvars32.bat:

@SET LatestWinSDK=C:\Program Files\Microsoft SDKs\Windows\v6.0\

And also updated my includes in Tools\Options\Projects and Solutions\VC++ directories and added include files
$(LatestWinSDK)\include

Project still doesn't compile:
fatal error C1083: Cannot open include file: 'mmdeviceapi.h': No such file or directory

What should i do to make it work?
anyone???
Topic archived. No new replies allowed.