一、WINVER
  Compile result:
  WINVER not defined. Defaulting to 0x0502 (Windows Server 2003)

 

  windows   server   2003  
  winver>=0x0502  
     
  windows   xp    
  winver>=0x0501  
     
  windows   2000  
  winver>=0x0500  
     
  windows   nt   4.0  
  winver>=0x0400  
     
  windows   me  
  winver>=0x0500  
     
  windows   98  
  winver>=0x0410  
     
  windows   95  
  winver>=0x0400  

 

在stdafx.h的开头定义:
0x0501是XP   SP2的 
#ifndef   WINVER 
#define   WINVER   0x0501 
#endif

相关文章:

  • 2021-12-11
  • 2021-08-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-03
  • 2021-07-24
猜你喜欢
  • 2021-12-14
  • 2022-12-23
  • 2022-12-23
  • 2021-07-27
  • 2022-01-10
  • 2022-12-23
  • 2021-06-13
相关资源
相似解决方案