-
Notifications
You must be signed in to change notification settings - Fork 4
/
stdafx.h
47 lines (34 loc) · 1.03 KB
/
stdafx.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#pragma once
#define _CRT_SECURE_NO_WARNINGS
#define _CRTDBG_MAP_ALLOC
#include <stdlib.h>
#include <crtdbg.h>
//#ifdef _DEBUG
// #ifndef DBG_NEW
// #define DBG_NEW new ( _NORMAL_BLOCK , __FILE__ , __LINE__ )
// #define new DBG_NEW
// #endif
//#endif // _DEBUG
#include "targetver.h"
#define WIN32_LEAN_AND_MEAN
//#define WINHTTP_WRAPPER_NO_COMPRESSION_SUPPORT
//#define OMIT_PROFILER
//------------------------------------------------------
#include <windows.h>
#include <tchar.h>
#include <vector>
#include <string>
//#include <locale>
//#include <codecvt>
//#include <Shlwapi.h> // for CoInitializeEx
#include <shellapi.h> // for NOTIFYICONDATA
//#include <tlhelp32.h>
#include <winsock2.h>
#include <iostream>
#pragma comment(lib,"ws2_32.lib")
//------------------------------------------------------
#define HR(expr) { hr = expr; if (FAILED(hr)) return hr; }