I am developing a Windows Kernel-Mode driver.
I have installed WDK10, Windows SDK linked along with it, and Windows 7 SDK.
I'd like to target windows 7, so I need specific includes, etc., but Visual Studio only allows me to Retarget solution to Win10 or Win8.1, but I need Win7 SDK, for example, if I want to use ZwQuerySystemInformation.
I tried reinstalling everything, but nothing helped.
I'm on Windows 10, so I can't install WDK 7.
Windows 10 WDK allows you to develop drivers for down-level up to Windows 7. I don't think you need WDK 7. To build a driver targeting windows 7 using windows 10 WDK, create a driver project and then in the project properties->Driver->General, set the TargetVersion to Win7
Related
I have a project that installs and runs on windows 10 machines but on windows 7 when I try to run it a notification pops up that says there are missing .dll files. I believe visual studio needs to be targeting windows 7 for it to run on windows 7. When I go to the property pages in visual studio, the "Target Platform" field says "Windows 10" and can't be changed. How do I change the target platform?
The "Target Platform Version" field in the Visual C++ project properties only picks which Windows SDK to build against. For Win32 desktop apps, if you want to build against a 'down-level' version of Windows like Windows 7, you need to set the _WIN32_WINNT preprocessor symbol to the appropriate value.
#include <WinSDKVer.h>
#define _WIN32_WINNT 0x0601
#include <SDKDDKVer.h>
See Using the Windows Headers for details.
The Windows 8.1 SDK, the Windows 10 SDK (10240), Windows 10 SDK (10586), Windows 10 SDK (14393), and Windows 10 SDK (15063) can be used to build Windows Win32 desktop apps for Windows Vista SP2, Windows 7 SP1, Windows 8.1, and Windows 10.
Keep in mind that the VS 2015 / VS 2017 C/C++ Runtime supports Windows 7 Service Pack 1, but does not support Windows 7 RTM. Windows 8.0 is not officially support either as users are expected to have upgraded to Windows 8.1 or Windows 10 by this point.
Note that building for Windows XP Service Pack 3 with VS 2017 requires explicit use of the v141_xp Platform Toolset because it requires a Windows 7.1A SDK--the last SDK to support targeting Windows XP. See this blog post for various implications of using this.
The include file explains it:
1. Including SDKDDKVer.h defines the highest available Windows platform.
2. If you wish to build your application for a previous Windows platform, include WinSDKVer.h and set the _WIN32_WINNT macro to the platform you wish to support before including SDKDDKVer.h.
So you need to target the minimal Windows version you wish to support and it will then support any version above (and including) it. That has nothing to do with the Windows 10 SDK which supports all previous Windows versions.
I have Visual Studio 2013 running on Windows 7 Pro. I needed the Windows Driver Kit for a project so I downloaded and installed this WDK 8.1 Update (for Windows 8.1, 8, and 7 drivers).
In this case I had not installed components such as the Windows Driver Kit Version 7.1.0 before installing WDK 8.1 Update.
Now I do not see the build environments created anywhere so I am not sure if this version of WDK requires either an earlier version of WDK as well, if something went wrong during installation, or if Microsoft made changes to the build environments.
However, when I had the aforementioned Windows Driver Kit Version 7.1.0 installed on another machine, it had created the build environments shown below.
Should the WDK 8.1 Update be sufficient on its own to create the build environments and if so, where can they be accessed?
Starting with Window 8 all tools (Debugger, Windows performance Tools, ADK, WDK) are installed under C:\Program Files (x86)\Windows Kits\VERSION and can be found under Windows Kits in the startmenu. Look a bit under your current position to access the Windows Kits folder.
i have windows 7(OS), visual studio 2010, windows sdk 7.1, my phone is Nokia Lumia 525
could you please tell me whether my apps run in my device or not?. and also is it possible to install windows sdk 8 and visual studio 2012 for windows phone in windows 7(OS), if it is possible, tell me stepwise and also send download link about windows sdk 8 and visual studio 2012 for windows phone
Thank you
No to both questions.
It is not possible to run Windows apps on Windows Phone. This is regardless of the versions of either.
If it not possible to install the SDK for "Windows Phone 8.0" on a Windows 7 machine. (system requiements)
However, according to the system requirements you can install the 8.1 SDK on Windows 7
Note also though that Windows 7 is out of support in a few months (on 13/01/2015) so you should probably consider upgrading. Especially as the 8.1 SDK lets you build "universal" apps for Windows 8.1 and Windows Phone 8.1
is it possible to develop windows 8 phone applications in windows 7 with vs.net 2010?
Or do I need to upgrade to windows 8 altogether?
Windows Phone 8 development possible under windows 7?
No, Windows 8 64-bit and Visual Studio 2012 are required.
Windows 8 Pro is also required to run the emulator (along with a processor that supports SLAT).
Source: http://www.microsoft.com/en-us/download/details.aspx?id=35471
You can modify the installation files to allow it to be installed on Windows 7.
Here are the modified setup files for WP8 SDK 9900:
Run InstallWP8SDK.bat to start the installation!
Download: http://www5.zippyshare.com/v/67777536/file.html
Have fun developing on the good old Windows 7.
I've recently installed the Visual Studio 2012 Express for Windows Desktop. Along with it, a part of Windows 8 SDK was installed as well.
Currently I want to develop programs only for Windows Vista/7 platform with DirectX 11. Up until now I just installed the Windows 7.1 SDK along with DirectX SDK from june 2010 and everything worked well. Currently, however, I'm a little confused, because the DirectX SDK was incorporated into the Windows 8 SDK. Also, VS2012 uses Windows 8 SDKs by default.
What should I do? Install the Windows 8 SDK and use it to write programs for Windows 7 with DirectX? Or maybe continue to use Windows 7.1 SDK and DirectX /june 2010 SDK? I want to be sure, that my programs (which do not use any 7-specific functions) will still work under Vista and 7.
I think you have two choices
install Win8 SDK and used the features compatible with Win7, since Win8 SDK include the DirectX SDK and there are some features only works under win8, your program will work on win7 as long as you didn't use such features
install Win7 SDK, this will make sure you program can works on Win7
only one thing, make sure the feature you are using are available on your platform, that's all.
Here is a page about the DirectX SDKs, just for your reference
Where is the DirectX SDK?