ICP  1
stdafx.h
Go to the documentation of this file.
1 // stdafx.h : include file for standard system include files,
2 // or project specific include files that are used frequently,
3 // but are changed infrequently
4 
5 #pragma once
6 
7 #ifndef STRICT
8 #define STRICT
9 #endif
10 
11 #define NOMINMAX
12 
13 #include "targetver.h"
14 
15 //#define _ATL_APARTMENT_THREADED
16 #define _ATL_FREE_THREADED
17 
18 #define _ATL_NO_AUTOMATIC_NAMESPACE
19 
20 #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
21 
22 #define ATL_NO_ASSERT_ON_DESTROY_NONEXISTENT_WINDOW
23 
24 // turns off ATL's hiding of some common and often safely ignored warning messages
25 #define _ATL_ALL_WARNINGS
26 
27 #include "resource.h"
28 #include <atlbase.h>
29 #include <atlcom.h>
30 #include <atlctl.h>
31 //#include <atlwin.h>
32 //#include <atltypes.h>
33 //#include <atlhost.h>
34 
35 #include <crtdbg.h>
36 
37 #include <iostream>
38 #include <sstream>
39 #include <fstream>
40 #include <string>
41 #include <list>
42 #include <map>
43 #include <vector>
44 #include <limits>
45 #include <set>
46 
47 #include <cstdio>
48 #include <cstdlib>
49 #include <ctime>
50 #include <cstdarg>
51 #include <cstddef>
52 #include <cctype>
53 
54 #include <windows.h>
55 #include <tchar.h>
56 #include <sys/stat.h>
57 #include <sys/timeb.h>
58 #include <process.h>
59 #include <fcntl.h>
60 #include <msxml2.h>
61 #include <direct.h>
62 
63 //#include <MD5.h>
64 
65 #include <math.h>
66 
67 #include <boost/bind.hpp>
68 #include <boost/function.hpp>
69 #include <boost/signals2.hpp>
70 #include <boost/type_traits.hpp>
71 #include <boost/array.hpp>
72 #include <boost/iterator/transform_iterator.hpp>
73 #include <boost/foreach.hpp>
74 #include <boost/pool/pool_alloc.hpp>
75 #include <boost/bimap.hpp>
76 
77 #include <Poco/Notification.h>
78 #include <Poco/NotificationCenter.h>
79 #include <Poco/BasicEvent.h>
80 #include <Poco/Observer.h>
81 #include <Poco/NObserver.h>
82 #include <Poco/AutoPtr.h>
83 #include <Poco/MemoryPool.h>
84 #include <Poco/Path.h>
85 #include "Poco/Util/Application.h"
86 #include "Poco/String.h"
87 #include "Poco/Environment.h"
88 #include "Poco/Format.h"
89 #include "Poco/LogStream.h"
90 #include "Poco/Mutex.h"
91 #include "Poco/NamedMutex.h"
92 #include "Poco/TaskManager.h"
93 #include <Poco/TaskNotification.h>
94 #include <Poco/NotificationQueue.h>
95 #include <Poco/ActiveMethod.h>
96 #include <Poco/ActiveResult.h>
97 #include "Poco/Timer.h"
98 #include <Poco/Condition.h>
99 #include <Poco/Semaphore.h>
100 #include "Poco/NumberFormatter.h"
101 #include "Poco/RWLock.h"
102 #include "Poco/RunnableAdapter.h"
103 
104 #include "Poco/Net/TCPServer.h"
105 #include "Poco/Net/TCPServerConnection.h"
106 #include "Poco/Net/TCPServerConnectionFactory.h"
107 #include "Poco/Net/TCPServerParams.h"
108 #include "Poco/Net/StreamSocket.h"
109 #include "Poco/Net/ServerSocket.h"
110 
111 #include "Poco/Net/HTTPServer.h"
112 
113 #include "Poco/InflatingStream.h"
114 #include "Poco/DeflatingStream.h"
115 
116 using namespace ATL;