locked
_WIN32_WINNT settings conflicts with _WIN32_IE setting RRS feed

  • Question

  • HELP!

    I have researched this extensively and cannot find a solution.
    My project compiled fine in VS2005 but now I get the faollowing sanity check that fails with logic that doesn't make sense!

    C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\sdkddkver.h

    #if ((_WIN32_WINNT < _WIN32_WINNT_WIN2K) && (_WIN32_IE > _WIN32_IE_IE60SP1))
    #error _WIN32_WINNT settings conflicts with _WIN32_IE setting
    #endif

     the values are as follows ((0x0500 < 0x0500) && (0x0500 > 0x0601)

    that is not logically true so why is the error executing??

     

    Tuesday, May 11, 2010 4:52 PM

All replies

  • I currently have this:

    #ifndef WINVER // Specifies that the minimum required platform is Windows 2000. 
    #define WINVER 0x0500 // Change this to the appropriate value to target other versions of Windows. 
    #endif 
    
    #ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows 2000. 
    #define _WIN32_WINNT 0x0500 // Change this to the appropriate value to target other versions of Windows. 
    #endif 
    
    #ifndef _WIN32_WINDOWS // Specifies that the minimum required platform is Windows Me. 
    #define _WIN32_WINDOWS 0x0500 // Change this to the appropriate value to target Windows Me or later. 
    #endif 
    
    #ifndef _WIN32_IE // Specifies that the minimum required platform is Internet Explorer 5.5. 
    #define _WIN32_IE 0x0550 // Change this to the appropriate value to target other versions of IE. 
    #endif 
    Tuesday, May 11, 2010 4:53 PM
  • Using Visual Studio 10...these seem to work...I had to change several to get all projs to build...

     

    #ifndef WINVER // Allow use of features specific to Windows 95 and Windows NT 4 or later.

    #define WINVER 0x0500 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later.

    #endif

     

    #ifndef _WIN32_WINNT // Allow use of features specific to Windows NT 4 or later.

    #define _WIN32_WINNT 0x0501 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later.

    #endif

     

    #ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later.

    #define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.

    #endif

     

    #ifndef _WIN32_IE // Allow use of features specific to IE 4.0 or later.

    #define _WIN32_IE 0x0550 // Change this to the appropriate value to target IE 5.0 or later.

    #endif



    charles.leggette
    Friday, March 4, 2011 7:37 PM
  • Tuesday, March 8, 2011 12:07 PM