Just value your mind

Solution to “Your version of the windows SDK is earlier than 6.0…”

winsdk

While i was starting MFC in visual studio 2008, i got a fatal error in debugging as below:


Your version of the windows SDK is earlier than 6.0. Try setting the ‘WINVER’ and ‘_win32_winnt’ definitions in your project to less than 0×0600.


I tried several ways to fix that issue while nothing happened, also i investigated the documents in internet by Google neither any helpful information was provided. There indeed existed a solution which was as blew:

stdafx.h- add these codes in the header
#ifndef WINVER                  // Specifies that the minimum required platform is Windows Vista.
#define WINVER 0×0500          // Win2k
#ifndef _WIN32_WINNT            // Specifies that the minimum required platform is Windows Vista.
#define _WIN32_WINNT 0×0500    // Win2k

While that solution did not make any differences. And i tried another way- to download the Windows Platform SDK and installed it, and the most important, update the including library files to at least version 6, then try it again, everything was done.






QR code for this post, SCAN ME
QR:  Solution to “Your version of the windows SDK is earlier than 6.0…”

Posts may be of your interests

One Comment On “ Solution to “Your version of the windows SDK is earlier than 6.0…””

  1. MZ says:

    Check your project properties under “C++\General” and see “Additional Include Directories”. You may have add a path that conflicts with other definitions.

Leave a comment

You can use these XHTML tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Copyrights 2006-2014 © Andol Li | Theme Tree2, re-designed by Andol Li| Powered by WordPress
WWW.ANDOL.INFO- 75 queries in 0.303 seconds. Go to TOP