Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Tuesday, August 9, 2016 11:03 AM
Before building a project in Visual C++, when I check the target platform version, I only see 8.1. I cannot change that to 7, which is my target platform.
For that, the directx project I'm building doesn't run succesfully. It seeks for such dlls (i.e: d3dcompiler_47.dll and others...) those are present on windows 8.1, but not In windows 7(windows 7 has d3dcompiler_33.dll to d3dcompiler_43.dll). I only get lots of dll missing errors.
If also tried:
#define _WIN32_WINNT_WIN7 0x0601 //windows 7
in the targetver.h file but nothing succesful. i wan't build it for Windows 7 so that I can run it smoothly on 7, 8, 8.1 and 10.
I'm using:
- Visual Studio 2015 Community with update 3
- Windows 7 32-bit SP1
- Windows 8.1 SDK which installed along with Visual Studio
All replies (1)
Thursday, August 11, 2016 5:20 AM ✅Answered
Hi Borno11050,
Thank you for your post.
To target Windows 7 or Windows Vista, use the value 8.1, since Windows SDK 8.1 is backward compatible to those platforms. In addition, you should define the appropriate value for _WIN32_WINNT in targetver.h. For Windows 7, that's 0x0601. See Modifying WINVER and _WIN32_WINNT.
Please refer to:
https://msdn.microsoft.com/en-us/library/8x480de8.aspx
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click HERE to participate the survey.