// stdafx.h : This is the include file of standard system include file,
// or the include fire of project that in used frequently but seldom modified
// 

#pragma once

#ifndef _SECURE_ATL
#define _SECURE_ATL 1
#endif

#ifndef VC_EXTRALEAN
#define VC_EXTRALEAN		// Remove seldom used information from Windows header
#endif

// If you want to use the platform earlier than the one listed below, the definition as following should be modified.
// For more information about the related value of different platform, please refer to MSDN
#ifndef WINVER				// Allow to use the function available in Windows XP or higher version plarform
#define WINVER 0x0501		// Modify this value to the related value for other Windows version
#endif

#ifndef _WIN32_WINNT		// Allow to use the function available in Windows XP or higher version plarform
#define _WIN32_WINNT 0x0501	// Modify this value to the related value for other Windows version
#endif						

#ifndef _WIN32_WINDOWS		// Allow to use the function available in Windows 98  or higher version plarform
#define _WIN32_WINDOWS 0x0410 // Modify this value to the related value for Windows Me or higher version plarform
#endif

#ifndef _WIN32_IE			// Allow to use the function available in IE 6.0 or higher version 
#define _WIN32_IE 0x0600	// Modify this value to the related value for other verison IE
#endif

#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS	// Some CString constructor function is explicit 

// Disable the hiden feature of MFC to some common warnings that can always be igonred  
#define _AFX_ALL_WARNINGS

#include <afxwin.h>         // MFC core component and standard component
#include <afxext.h>         // MFC extension


#include <afxdisp.h>        // MFC automatic class



#ifndef _AFX_NO_OLE_SUPPORT
#include <afxdtctl.h>		// MFC support to Internet Explorer 4 public controls
#endif
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h>			// MFC support to Windows commen controls 
#endif // _AFX_NO_AFXCMN_SUPPORT









#ifdef _UNICODE
#if defined _M_IX86
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
#elif defined _M_IA64
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"")
#elif defined _M_X64
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
#else
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
#endif
#endif


