source: trunk/Utilities/FileMappingVirtualAddress/stdafx.h @ 42

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