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 0x0600.
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 0x0500 // Win2k
#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista.
#define _WIN32_WINNT 0x0500 // 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.