1 /****************************************************************************** 2 ** $Header: svn+ssh://jmmcg@svn.code.sf.net/p/libjmmcg/code/trunk/libjmmcg/experimental/NT-based/NTSpecific/dll/StdAfx.h 2055 2017-05-13 19:35:47Z jmmcg $ 3 ** 4 ** Copyright (C) 2002 by J.M.McGuiness, coder@hussar.me.uk 5 ** 6 ** This library is free software; you can redistribute it and/or 7 ** modify it under the terms of the GNU Lesser General Public 8 ** License as published by the Free Software Foundation; either 9 ** version 2.1 of the License, or (at your option) any later version. 10 ** 11 ** This library is distributed in the hope that it will be useful, 12 ** but WITHOUT ANY WARRANTY; without even the implied warranty of 13 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 14 ** Lesser General Public License for more details. 15 ** 16 ** You should have received a copy of the GNU Lesser General Public 17 ** License along with this library; if not, write to the Free Software 18 ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 19 */ 20 21 // stdafx.h : include file for standard system include files, 22 // or project specific include files that are used frequently, but 23 // are changed infrequently 24 // 25 26 #if !defined(AFX_STDAFX_H__F585FBDB_34EB_4369_BEB4_2190904D9C11__INCLUDED_) 27 #define AFX_STDAFX_H__F585FBDB_34EB_4369_BEB4_2190904D9C11__INCLUDED_ 28 29 #if _MSC_VER > 1000 30 #pragma once 31 #endif // _MSC_VER > 1000 32 33 #define WINVER 0x0501 34 #define _WIN32_WINNT 0x0501 35 36 #define _CRT_SECURE_NO_WARNINGS 37 38 #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers 39 #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers 40 41 #define BOOST_USE_WINDOWS_H 42 43 #pragma warning(disable:4800) ///< 'BOOL' : forcing value to bool 'true' or 'false' (performance warning). 44 #include <afxwin.h> // MFC core and standard components 45 //#include <afxext.h> // MFC extensions 46 47 #ifndef _AFX_NO_OLE_SUPPORT 48 //#include <afxole.h> // MFC OLE classes 49 //#include <afxodlgs.h> // MFC OLE dialog classes 50 //#include <afxdisp.h> // MFC Automation classes 51 #endif // _AFX_NO_OLE_SUPPORT 52 53 54 #ifndef _AFX_NO_DB_SUPPORT 55 //#include <afxdb.h> // MFC ODBC database classes 56 #endif // _AFX_NO_DB_SUPPORT 57 58 #ifndef _AFX_NO_DAO_SUPPORT 59 //#include <afxdao.h> // MFC DAO database classes 60 #endif // _AFX_NO_DAO_SUPPORT 61 62 //#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls 63 #ifndef _AFX_NO_AFXCMN_SUPPORT 64 //#include <afxcmn.h> // MFC support for Windows Common Controls 65 #endif // _AFX_NO_AFXCMN_SUPPORT 66 67 #include<windows.h> 68 // Networking functionality such as browsing. 69 #include<lm.h> 70 // AT job scheduling structure. 71 #include<lmat.h> 72 // For the Service Manager functions. (NT only.) 73 #include<winsvc.h> 74 75 #include<Loadperf.h> // For "LoadPerfCounterTextStrings(...)" & "UnloadPerfCounterTextStrings(...)" 76 77 #include<winperf.h> 78 79 #pragma warning(push) 80 # pragma warning(disable:4244) ///< Conversion from 'int' to 'unsigned short', possible loss of data. 81 # include "../../../../core/blatant_old_msvc_compiler_hacks.hpp" 82 # include "../../../../core/info.hpp" 83 # include "../../../../core/non_copyable.hpp" 84 # include "../../../../core/trace.hpp" 85 # include "../../../../core/ttypes.hpp" 86 # include "../../../../core/unicode_conversions.hpp" 87 88 # include "boost\date_time\microsec_time_clock.hpp" 89 # include "boost\thread\thread_time.hpp" 90 91 #pragma warning(pop) 92 93 #include<algorithm> 94 #include<cassert> 95 #include<functional> 96 #include<iomanip> 97 #include<iostream> 98 #include<limits> 99 #include<list> 100 #include<map> 101 #include<memory> 102 #include<ostream> 103 #include<set> 104 #include<sstream> 105 #include<string> 106 #include<vector> 107 108 //{{AFX_INSERT_LOCATION}} 109 // Microsoft Visual C++ will insert additional declarations immediately before the previous line. 110 111 #endif // !defined(AFX_STDAFX_H__F585FBDB_34EB_4369_BEB4_2190904D9C11__INCLUDED_)