错误# C1189:WINVER setting conflicts with _WIN32_WINNT setting

编译SDK7下面的例子出现如下错误:

错误 1 fatal error C1189: #error :  WINVER setting conflicts with _WIN32_WINNT setting

                d:/program files/microsoft sdks/windows/v6.0a/include/sdkddkver.h 197 SimplePlay

折腾了半天,原来是因为版本问题,将编译器我用的是VS2008设置成使用SDK v7就OK.

你可能感兴趣的:(Win32)