Sunday, July 11, 2010

Compilation error

Error 1 error C1189: #error : This file requires _WIN32_WINNT to be #defined at least to 0x0403. Value 0x0501 or higher is recommended. c:\program files (x86)\microsoft visual studio 10.0\vc\atlmfc\include\atlcore.h 35 1 ABS_CCD81_Parser


Got the above error

Found the fix below

http://connect.microsoft.com/VisualStudio/feedback/details/564673/problem-with-win32-winnt

I solved the issue. I just needed to edit file "stdafx.h" and change the value defined for _WIN32_WINNT and WINVER to 0x0502. My bad.

No comments:

Post a Comment