source: trunk/Utilities/MaxMindGeoLite/stdafx.h @ 937

Last change on this file since 937 was 47, checked in by roman, 10 years ago
  • Property svn:keywords set to Id
File size: 3.0 KB
Line 
1////////////////////////////////////////////////////////////
2// Copyright (C) Roman Ryltsov, 2008-2012
3// Created by Roman Ryltsov roman@alax.info
4//
5// $Id: stdafx.h 47 2012-02-11 13:53:43Z roman $
6
7#pragma once
8
9////////////////////////////////////////////////////////////
10// Windows definitions
11
12#define STRICT
13#define _USE_MATH_DEFINES
14#define INLINE_HRESULT_FROM_WIN32
15#define _INC_WINDOWSX
16
17#include "targetver.h"
18#include <math.h>
19
20////////////////////////////////////////////////////////////
21// ATL definitions
22
23#define _ATL_APARTMENT_THREADED
24#define _ATL_NO_AUTOMATIC_NAMESPACE
25#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS
26#define _ATL_ALL_WARNINGS
27//#define _ATL_ATTRIBUTES
28
29#include "roatltrace.h" // Replacement for <atltrace.h>
30#include <atlbase.h>
31#include <atlcom.h>
32#include <atlwin.h>
33#include <atltypes.h>
34#include <atlsync.h>
35#include <atlfile.h>
36#include <atlpath.h>
37#include <atlcoll.h>
38#include <atlrx.h>
39#include <atlctl.h>
40//#include <atlhost.h>
41
42using namespace ATL;
43using namespace ATL::ATLPath;
44
45////////////////////////////////////////////////////////////
46// WTL
47
48#define _WTL_NO_CSTRING
49#define _WTL_NO_WTYPES
50#define _WTL_NO_UNION_CLASSES
51#define _WTL_NEW_PAGE_NOTIFY_HANDLERS
52
53#include <atlapp.h>
54#include <atlgdi.h>
55#include <atluser.h>
56#include <atlcrack.h>
57#include <atlctrls.h>
58#include <shellapi.h>
59#include <atlctrlx.h>
60#include <atlmisc.h>
61#include <atlframe.h>
62#include <atldlgs.h>
63
64using namespace WTL;
65
66////////////////////////////////////////////////////////////
67// Alax.Info ATL/WTL
68
69#define REGISTRY_PRODUCTROOT    _T("SOFTWARE\\Alax.Info\\Utilities\\MaxMind GeoLite Tools")
70#define REGISTRY_FILEROOT               REGISTRY_PRODUCTROOT
71#define REGISTRY_ROOT                   REGISTRY_FILEROOT
72
73//#define WRAP_MEDIASAMPLE_WITH_MEDIASAMPLE2 // Adobe Flash Media Live Encoder 3.1 Compatibility
74
75#include "roatlbase.h"
76#include "roatlvariants.h"
77#include "roatlcom.h"
78#include "roatlpersist.h"
79#include "roatlmisc.h"
80#include "roatlexceptionfilter.h"
81#include "rowtlapp.h"
82#include "rowtlcrack.h"
83#include "rodialogs.h"
84#include "rocontrols.h"
85
86////////////////////////////////////////////////////////////
87// Common Controls
88
89#if defined _M_IX86
90  #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
91#elif defined _M_IA64
92  #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"")
93#elif defined _M_X64
94  #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
95#else
96  #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
97#endif
Note: See TracBrowser for help on using the repository browser.