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

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