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

Last change on this file since 937 was 292, checked in by roman, 10 years ago
File size: 3.1 KB
Line 
1////////////////////////////////////////////////////////////
2// Copyright (C) Roman Ryltsov, 2006-2014
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// SDK
12
13#include "targetver.h"
14
15#define INLINE_HRESULT_FROM_WIN32
16#define _INC_WINDOWSX
17#define _WINSOCKAPI_ // We will want Winsock 2
18
19#include <stdio.h>
20#include <tchar.h>
21#include <math.h>
22#include <windows.h>
23#include <shellapi.h>
24
25////////////////////////////////////////////////////////////
26// ATL definitions
27
28#define _ATL_APARTMENT_THREADED
29#define _ATL_NO_AUTOMATIC_NAMESPACE
30#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS
31#define _ATL_ALL_WARNINGS
32//#define ATL_NO_ASSERT_ON_DESTROY_NONEXISTENT_WINDOW
33
34#include "roatltrace.h" // Replacement for <atltrace.h>
35#include <atlbase.h>
36#include <atlcom.h>
37#include <atlwin.h>
38#include <atltypes.h>
39#include <atlsync.h>
40#include <atlfile.h>
41#include <atlpath.h>
42#include <atlcoll.h>
43#include <atlrx.h>
44//#include <atlctl.h>
45//#include <atlhost.h>
46
47using namespace ATL;
48using namespace ATL::ATLPath;
49
50////////////////////////////////////////////////////////////
51// WTL
52
53#define _WTL_NO_CSTRING
54#define _WTL_NO_WTYPES
55#define _WTL_NO_UNION_CLASSES
56#define _WTL_NEW_PAGE_NOTIFY_HANDLERS
57
58#include <atlapp.h>
59#include <atlgdi.h>
60#include <atluser.h>
61#include <atlcrack.h>
62#include <atlctrls.h>
63#include <atlctrlx.h>
64#include <atlmisc.h>
65#include <atlframe.h>
66#include <atldlgs.h>
67
68using namespace WTL;
69
70////////////////////////////////////////////////////////////
71// Alax.Info ATL/WTL
72
73#define REGISTRY_PRODUCTROOT    _T("SOFTWARE\\Alax.Info\\Utility\\MediaDetSnapshot")
74#define REGISTRY_FILEROOT               REGISTRY_PRODUCTROOT
75#define REGISTRY_ROOT                   REGISTRY_FILEROOT
76
77#include "roatlbase.h"
78#include "roatlvariants.h"
79#include "roatlcom.h"
80#include "roatlpersist.h"
81#include "roatlmisc.h"
82#include "roatlexceptionfilter.h"
83#include "rowtlapp.h"
84#include "rowtlcrack.h"
85#include "rodialogs.h"
86//#include "rocontrols.h"
87
88////////////////////////////////////////////////////////////
89// Common Controls
90
91#if defined _M_IX86
92  #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
93#elif defined _M_IA64
94  #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"")
95#elif defined _M_X64
96  #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
97#else
98  #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
99#endif
Note: See TracBrowser for help on using the repository browser.