2010-04-20

从VC6移植到VS2008

错误1:_WIN32_WINNT settings conflicts with _WIN32_IE setting
解决方法:http://connect.microsoft.com/VisualStudio/feedback/details/455721/cant-compile-due-to-issues-with-preprocessor-constants
To fix this problem, make your stdafx.h file look like this:
// Modify the following defines if you have to target a platform prior to the ones specified below.
// Refer to MSDN for the latest info on corresponding values for different platforms.
#ifndef WINVER// Allow use of features specific to Windows 95 and Windows NT 4 or later.
#define WINVER 0x0501// Change this to the appropriate value to target Windows 98 and Windows 2000 or later.

No comments: