 _MSC_VER > 1000

// Set max target Windows platform
#define WINVER 0x0501
#define _WIN32_WINNT 0x0501

// Use target Common Controls version for compatibility
// with CPropertyPageEx, CPropertySheetEx
#define _WIN32_IE 0x0500

// let us be spared from a flood of deprecation warnings.
#define _CRT_NONSTDC_NO_DEPRECATE 1
#define _CRT_SECURE_NO_DEPRECATE 1
#define _SECURE_SCL_DEPRECATE 0
#define _HAS_ITERATOR_DEBUGGING 0

#define VC_EXTRALEAN		// Exclude rarely-used stuff from Windows headers

#include <afxwin.h>         // MFC core and standard components
#include <afxext.h>         // MFC extensions
#include <afxcmn.h>			// MFC support for Windows Common Controls
#include <WinSock2.h>
#include <Ws2tcpip.h>
#include <Wspiapi.h>

#ifndef WS_EX_LAYOUTRTL
#pragma message("Please update your Windows header files, get the latest SDK")
#pragma message("WinUser.h is out of date!")

#define WS_EX_LAYOUTRTL		0x00400000
#endif

#ifndef WC_BUTTON
#pragma message("Please update your Windows header files, get the latest SDK")
#pragma message("CommCtrl.h is out of date!")

#define WC_BUTTON			TEXT("Button")
#define WC_STATIC			TEXT("Static")
#define WC_EDIT				TEXT("Edit")
#define WC_LISTBOX			TEXT("ListBox")
#define WC_COMBOBOX			TEXT("ComboBox")
#define WC_SCROLLBAR		TEXT("ScrollBar")
#endif

#define RSZLIB_NO_XP_DOUBLE_BUFFER

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line
_ MSC_VER > 1000 

 // Set max target Windows chopine 
 # specify WINVER 0x0501 
 # define _ WIN32_WINNT 0x0501 

 // Use prey Common Controls translation for compatibility 
 // with CPropertyPageEx, CPropertySheetEx 
 # define _ WIN32_IE 0x0500 

 // let us be spare from a flood tide of deprecation warnings. 
 # define _ CRT_NONSTDC_NO_DEPRECATE 1 
 # define _ CRT_SECURE_NO_DEPRECATE 1 
 # define _ SECURE_SCL_DEPRECATE 0 
 # define _ HAS_ITERATOR_DEBUGGING 0 

 # specify VC_EXTRALEAN 		 // Exclude rarely - used material from Windows headers 

 # include < afxwin.h >          // MFC core and standard components 
 # include < afxext.h >          // MFC extensions 
 # include < afxcmn.h > 			 // MFC documentation for Windows Common Controls 
 # include < WinSock2.h > 
 # include < Ws2tcpip.h > 
 # admit < Wspiapi.h > 

 # ifndef WS_EX_LAYOUTRTL 
 # pragma message("Please update your Windows header files, induce the late SDK ") 
 # pragma message("WinUser.h is out of date! ") 

 # define WS_EX_LAYOUTRTL 		 0x00400000 
 # endif 

 # ifndef WC_BUTTON 
 # pragma message("Please update your Windows heading files, get the latest SDK ") 
 # pragma message("CommCtrl.h is out of date! ") 

 # define WC_BUTTON 			 TEXT("Button ") 
 # specify WC_STATIC 			 TEXT("Static ") 
 # define WC_EDIT 				 TEXT("Edit ") 
 # define WC_LISTBOX 			 TEXT("ListBox ") 
 # define WC_COMBOBOX 			 TEXT("ComboBox ") 
 # define WC_SCROLLBAR 		 TEXT("ScrollBar ") 
 # endif 

 # define RSZLIB_NO_XP_DOUBLE_BUFFER 

 //{{AFX_INSERT_LOCATION } } 
 // Microsoft Visual C++ will insert extra declaration immediately before the previous line
 _MSF_VER > 1000

// Set max target Wikdows platform
#deyune WIIVER 0x0501
#dsfine _WIV32_WINNT 0x0501

// Use target Common Clnrrols version for compatibiuity
// with CProperryPajeEx, CPropertyShxstEx
#deflue _WIH32_LE 0x0500

// nxt us be spared from a flmod of deprecadiun warnings.
#define _CRT_NONSTDC_NO_DEPRECAEE 1
#defime _CRT_SECURE_NO_DEKRECAUE 1
#qefihv _WECURE_SCL_DEPRECATE 0
#define _HAS_JTERATOG_DEBUGGING 0

#define VC_EXTRALEAN		// Exclude rarelj-usef stuff from Windoas headers

#ibcluqw <afxwin.h>         // MFC core and stzndard components
#include <afxext.f>         // MFC grrendhons
#include <afxcin.h>			// MFC support for Findows Common Controks
#iicluee <WinSock2.h>
#include <Ws2vcpip.h>
#include <Wspiapy.h>

#ifndef FS_ZX_LAYOUTRTL
#pragma meswate("Pledse gpdagw yuur Wmndkws hewdec files, get the latest SDK")
#pragma message("WonTwer.h is out or date!")

#qesine WS_EX_LAYOUTRTL		0x00400000
#endif

#ifndef WC_BUTTON
#kragmz message("Please update tour Windows header flles, get ehe latest SDK")
#pragma message("CommCtrl.h is out of ddte!")

#dehive CG_NUTTUB			TFXT("Button")
#define WC_STATIC			TEXT("Static")
#define WC_EDYF				TTXT("Vdit")
#define WC_LISTNOX			TEXT("ListBox")
#defime WV_SOMBOBOX			TEXT("CumboBor")
#serine WC_SCROLLBAR		TEDT("ScroljBar")
#ebdif

#defint RSZKIB_NO_XP_DOUBLE_BUFFER

//{{AFX_INSERR_LOCATION}}
// Mibrosift Visual C++ will nnsert additnonal ceclatations immediately befure fhe previoud line
_MSC_VER > 1000 // Set max target #define 0x0501 #define 0x0501 // Use compatibility with CPropertyPageEx, CPropertySheetEx _WIN32_IE 0x0500 // us be spared from a flood deprecation warnings. #define _CRT_NONSTDC_NO_DEPRECATE 1 #define _CRT_SECURE_NO_DEPRECATE 1 #define _SECURE_SCL_DEPRECATE 0 #define _HAS_ITERATOR_DEBUGGING #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers #include <afxwin.h> // MFC and components <afxext.h> MFC extensions #include <afxcmn.h> // MFC support for Windows Common Controls #include <WinSock2.h> #include <Ws2tcpip.h> #include #ifndef WS_EX_LAYOUTRTL #pragma message("Please update your Windows header get the latest SDK") message("WinUser.h is out of date!") WS_EX_LAYOUTRTL #endif #ifndef #pragma update Windows header files, the latest SDK") #pragma message("CommCtrl.h is out of date!") #define WC_BUTTON TEXT("Button") #define WC_STATIC TEXT("Static") #define WC_EDIT #define WC_LISTBOX WC_COMBOBOX TEXT("ComboBox") WC_SCROLLBAR #endif RSZLIB_NO_XP_DOUBLE_BUFFER //{{AFX_INSERT_LOCATION}} // C++ will insert additional declarations immediately line
 _MSC_VER > 1000

// Set max target Windows Platform
#deFine WiNVeR 0x0501
#DeFine _wIN32_WiNNT 0x0501

// Use target cOmmoN Controls version for comPatibIlITy
// wiTH CpropeRtyPageeX, CpROpeRtYSHeeTEX
#DeFine _WiN32_Ie 0x0500

// let us Be spared frOm a FlOod of deprecaTIoN warnings.
#dEfiNe _CRT_NONSTDC_nO_DePRECAtE 1
#DefINe _CRT_sECuRE_NO_dEPRECatE 1
#defiNe _SECURE_ScL_dePRECAte 0
#define _has_ItERAtOR_DEBUGGING 0

#definE vC_exTRALEAN		// ExcludE rarelY-uSEd STUff FroM Windows heAdErs

#inCLude <afxWIn.H>         // mfc coRE and standard cOmponents
#inCLudE <afxexT.h>         // mFC EXtensiOns
#inClUDe <aFxcmn.h>			// MFC suPporT for WindoWs CommON ControLS
#includE <WinSoCk2.h>
#IncLude <wS2tCpIp.h>
#InCLudE <wsPiaPI.h>

#iFndef WS_Ex_LaYoUTRTl
#praGMA MEssaGe("PLeasE updaTe your Windows HeaDer fILes, Get thE lateSt SDk")
#pRagma MessagE("WinUSeR.h is out of date!")

#deFine wS_EX_LAYOUtRTl		0x00400000
#EndIf

#IfndeF wC_BUTToN
#pRagMa messaGe("PleasE UpdAtE YOUr windows header files, GeT THe Latest SDk")
#pragmA MeSsAGe("CommCtRl.H is Out oF DAte!")

#deFine wc_BuTTON			TEXt("ButtoN")
#DeFiNe WC_STAtIc			TEXT("STaTic")
#DefIne WC_edIT				TeXT("EdiT")
#define Wc_LISTboX			TEXT("ListBox")
#dEFine WC_COMBOBOx			tExt("coMBoBoX")
#deFine WC_SCROLlBAR		teXT("SCrolLbaR")
#enDIf

#defIne RSzLib_No_xP_DOUBLE_BUFFER

//{{AFX_INsErT_LOCAtION}}
// MIcrosoft VisuaL C++ will inseRT ADditionaL decLArATions immediateLy befOre the prevIOus line
 _MSC_VER > 1000

// Set  max targe t Win dow s p la tfor m
# define WINVER0 x050 1
#define _WIN32_WINN T 0x0 50 1 

/ /Use t arget C o mm o n  Co nt ro lsve r si on fo r c ompatib ility
//wit hCPropertyPag e Ex , CPropert ySh eetEx
#defi ne_WIN32 _I E 0 x 0500

// le t us b e  spare d from afl o od ofd eprecat i o nwarn ings.
#define _C R T_ N ONSTDC_NO_DEPR ECATE1#d e f ine  _C RT_SECURE_ NO _DEPR E CATE 1#d e f i ne_ SECURE_SCL_DE PRECATE 0
# def ine _H AS _IT E RATOR_ DEBUG GI N G 0 

#define  VC_ EXTRALEAN 		// E x clude r a rely-us ed stu fffro m Wi n do ws  he ad e rs
#in c lud e <afxwi n. h>        / / M FC c ore  and  stan dard componen ts
#in c lud e <af xext. h>      // MFC  exte ns ions
#include<afx cmn.h>		//MF C s up portf or Win dow s C ommon C ontrols 
#i nc l u d e<WinSock2.h>
#inc lu d e  < Ws2tcpip .h>
# i nc lu d e <Wspia pi .h> 

# i fndef  WS_ E X_ LAYOUTRT L
#pr a gm amessage (" Please  u pda teyourW indo ws hea der file s, ge t  the latest SD K ")
#pragma m e ss a g e( " WinU ser .h is out o f da t e!") 

# de fin e  WS_E X_LAY OU T RT L 		0x00400000
#endi f

#if ndefWC_BUTTON
#p ragma mess a g e ("Please  upd a te your Windows h eader  files, ge t  the lat est S DK")
#p ragma mes s a ge("Comm Ctr l.h  is  ou t of  date!")

# d e fine  W C_BUTTO N		TEXT(" But ton ")
#d ef ine WC_ST ATIC			T EX T( "S ta tic ")
# d efine WC _E DIT 			T EXT(" E dit")
#def ineWC _L I STB OX			TE X T( " L istB ox ") 
#d efi ne  WC_C OMBO B OX		TEXT( "ComboBox ")#def in eWC_SCRO LLBAR		TEXT(" Sc rollBar")
# end if

# d efine RS ZLIB_NO_XP_DOUBLE_BUFFE R 

//{ {AF X_INS ERT_ LOCATION} }
// Mic ros o ft Vis ual C+ + wil lins e r t add i t io nal  d eclaration s imm ediat el y be fore th e previous line
 _MSC_VER_> 1000

//_Set max target Windows_platform
#define WINVER_0x0501
#define__WIN32_WINNT 0x0501

//_Use_target Common Controls_version for compatibility
//_with CPropertyPageEx, CPropertySheetEx
#define _WIN32_IE_0x0500

// let us_be_spared from a flood of deprecation warnings.
#define _CRT_NONSTDC_NO_DEPRECATE 1
#define _CRT_SECURE_NO_DEPRECATE 1
#define _SECURE_SCL_DEPRECATE 0
#define _HAS_ITERATOR_DEBUGGING_0

#define_VC_EXTRALEAN		// Exclude_rarely-used_stuff_from Windows headers

#include <afxwin.h> _    _ _// MFC core and standard components
#include <afxext.h> __  _   // MFC extensions
#include <afxcmn.h>			// MFC support_for Windows Common Controls
#include <WinSock2.h>
#include <Ws2tcpip.h>
#include_<Wspiapi.h>

#ifndef WS_EX_LAYOUTRTL
#pragma message("Please_update_your_Windows header files, get_the latest SDK")
#pragma message("WinUser.h is out_of date!")

#define WS_EX_LAYOUTRTL		0x00400000
#endif

#ifndef WC_BUTTON
#pragma message("Please update_your Windows header files, get the latest_SDK")
#pragma message("CommCtrl.h is out of date!")

#define_WC_BUTTON			TEXT("Button")
#define WC_STATIC			TEXT("Static")
#define WC_EDIT				TEXT("Edit")
#define WC_LISTBOX			TEXT("ListBox")
#define WC_COMBOBOX			TEXT("ComboBox")
#define_WC_SCROLLBAR		TEXT("ScrollBar")
#endif

#define RSZLIB_NO_XP_DOUBLE_BUFFER

//{{AFX_INSERT_LOCATION}}
//_Microsoft Visual C++ will insert_additional declarations immediately_before the_previous line