This repository has been archived by the owner on Jun 12, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
stdafx.h
75 lines (59 loc) · 2.16 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//
#pragma once
#pragma warning( disable : 4290 )
// Modify the following defines if you have to target a platform prior to the ones specified below.
// Refer to MSDN for the latest info on corresponding values for different platforms.
#ifndef WINVER // Allow use of features specific to Windows XP or later.
#define WINVER 0x0501 // Change this to the appropriate value to target other versions of Windows.
#endif
#ifndef _WIN32_WINNT // Allow use of features specific to Windows XP or later.
#define _WIN32_WINNT 0x0501 // Change this to the appropriate value to target other versions of Windows.
#endif
#ifndef _WIN32_IE // Allow use of features specific to IE 6.0 or later.
#define _WIN32_IE 0x0600 // Change this to the appropriate value to target other versions of IE.
#endif
#include <stdio.h>
#include <tchar.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <memory>
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
#include <atlbase.h>
#include <atlstr.h>
#include <assert.h>
#include <windows.h>
#define _WIN32_DCOM
#include <string>
#include <iostream>
#include <sstream>
#include <map>
#include <crtdbg.h>
#include <comdef.h>
#ifdef _DEBUG
# pragma comment(lib, "atlsd.lib")
#define _ATL_DEBUG_INTERFACES
#ifndef _CRTDBG_CHECK_ALWAYS_DF
#define _CRTDBG_CHECK_ALWAYS_DF
#endif
#endif
#pragma warning( disable : 6387 )
#pragma warning( disable : 28251 )
#pragma warning( disable : 28204 )
#pragma warning( disable : 28243 )
#pragma warning( disable : 6504 )
#include <sqlncli.h>
#ifdef _MSC_VER
#pragma warning( disable : 6001 )
#endif
#include <atldbcli.h>
#ifdef _MSC_VER
#pragma warning( default : 6001 ) /* Reset to default state */
#endif
#include <atldbsch.h> // For Rowset Schema Information
#define DISALLOW_COPY_AND_ASSIGN(TypeName) \
TypeName(const TypeName&); \
void operator=(const TypeName&)