source: trunk/DirectShowSpy/stdafx.h @ 196

Last change on this file since 196 was 196, checked in by roman, 9 years ago

Cosmetic fixes, new .BAT names, UnregisterTreatAsClasses? export to force removal of TreatAs? keys

  • Property svn:keywords set to Id
File size: 2.9 KB
Line 
1////////////////////////////////////////////////////////////
2// Copyright (C) Roman Ryltsov, 2008-2011
3// Created by Roman Ryltsov roman@alax.info
4
5#pragma once
6
7////////////////////////////////////////////////////////////
8// Windows definitions
9
10#define STRICT
11#define INLINE_HRESULT_FROM_WIN32
12#define _INC_WINDOWSX
13
14#include "targetver.h"
15
16////////////////////////////////////////////////////////////
17// ATL definitions
18
19#define _ATL_APARTMENT_THREADED
20#define _ATL_NO_AUTOMATIC_NAMESPACE
21#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS
22#define _ATL_ALL_WARNINGS
23//#define _ATL_ATTRIBUTES
24
25#include "roatltrace.h" // Replacement for <atltrace.h>
26#include <atlbase.h>
27#include <atlcom.h>
28#include <atlwin.h>
29#include <atltypes.h>
30#include <atlsync.h>
31#include <atlfile.h>
32#include <atlpath.h>
33#include <atlcoll.h>
34#include <atlrx.h>
35#include <atlctl.h>
36//#include <atlhost.h>
37
38using namespace ATL;
39using namespace ATL::ATLPath;
40
41////////////////////////////////////////////////////////////
42// WTL
43
44#define _SECURE_ATL     TRUE
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 <shellapi.h>
56#include <atlctrlx.h>
57#include <atlmisc.h>
58#include <atlframe.h>
59#include <atldlgs.h>
60
61using namespace WTL;
62
63////////////////////////////////////////////////////////////
64// Alax.Info ATL/WTL
65
66#define REGISTRY_PRODUCTROOT    _T("SOFTWARE\\Alax.Info\\Utilities")
67#define REGISTRY_FILEROOT               REGISTRY_PRODUCTROOT _T("\\DirectShowSpy")
68#define REGISTRY_ROOT                   REGISTRY_FILEROOT
69
70#include "roatlbase.h"
71#include "roatlvariants.h"
72#include "roatlcollections.h"
73#include "roatlcom.h"
74#include "roatlpersist.h"
75#include "roatlmisc.h"
76#include "roatlexceptionfilter.h"
77#include "rowtlapp.h"
78#include "rowtlcrack.h"
79#include "rodialogs.h"
80#include "rocontrols.h"
81
82////////////////////////////////////////////////////////////
83// Common Controls
84
85#if defined _M_IX86
86  #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
87#elif defined _M_IA64
88  #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"")
89#elif defined _M_X64
90  #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
91#else
92  #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
93#endif
Note: See TracBrowser for help on using the repository browser.