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

Last change on this file since 937 was 386, checked in by roman, 7 years ago

VS2012 update, fix for AV in icon loading (high DPI)

File size: 2.1 KB
Line 
1////////////////////////////////////////////////////////////
2// Copyright (C) Alax.Info, 2006-2013
3// http://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#include <winsdkver.h>
11
12#define INLINE_HRESULT_FROM_WIN32
13#define _INC_WINDOWSX
14
15#define _ATL_APARTMENT_THREADED
16#define _ATL_NO_AUTOMATIC_NAMESPACE
17#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS
18#define _ATL_ALL_WARNINGS
19//#define _ATL_ATTRIBUTES
20
21#include "roatltrace.h"
22#include <atlbase.h>
23#include <atlstr.h>
24#include <atltypes.h>
25
26using namespace ATL;
27
28#define _WTL_NO_CSTRING
29#define _WTL_NO_WTYPES
30#define _WTL_NO_UNION_CLASSES
31#define _WTL_NEW_PAGE_NOTIFY_HANDLERS
32
33#undef _SYSINFOAPI_H_
34#include <atlapp.h>
35#define _SYSINFOAPI_H_
36
37extern CAppModule _Module;
38
39#include <atlwin.h>
40#include <atlcrack.h>
41#include <atldlgs.h>
42#include <atlctrls.h>
43#include <atlframe.h>
44#include <atlmisc.h>
45#include <atlrx.h>
46
47#include <shellapi.h>
48#include <atlctrlx.h>
49
50using namespace WTL;
51
52#include "roatlbase.h"
53#include "roatlcom.h"
54#include "roatlexceptionfilter.h"
55#include "rowtlcrack.h"
56#include "rowindows.h"
57#include "rocontrols.h"
58#include "rodialogs.h"
59#include "rowinhttp.h"
60
61#if defined _M_IX86
62#pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
63#elif defined _M_IA64
64#pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"")
65#elif defined _M_X64
66#pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
67#else
68#pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
69#endif
Note: See TracBrowser for help on using the repository browser.