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

Last change on this file since 937 was 514, checked in by roman, 7 years ago
File size: 3.2 KB
Line 
1////////////////////////////////////////////////////////////
2// Copyright (C) Roman Ryltsov, 2015
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#include <msxml2.h>
25
26////////////////////////////////////////////////////////////
27// ATL definitions
28
29#define _ATL_APARTMENT_THREADED
30//#define _ATL_FREE_THREADED
31#define _ATL_NO_AUTOMATIC_NAMESPACE
32#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS
33#define _ATL_ALL_WARNINGS
34//#define ATL_NO_ASSERT_ON_DESTROY_NONEXISTENT_WINDOW
35
36#include "roatltrace.h" // Replacement for <atltrace.h>
37#include <atlbase.h>
38#include <atlcom.h>
39#include <atlwin.h>
40#include <atltypes.h>
41#include <atlsync.h>
42#include <atlfile.h>
43#include <atlpath.h>
44#include <atlcoll.h>
45#include <atlrx.h>
46//#include <atlctl.h>
47//#include <atlhost.h>
48
49using namespace ATL;
50using namespace ATL::ATLPath;
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\\Utility")
76#define REGISTRY_FILEROOT               REGISTRY_PRODUCTROOT _T("\\LogStdOutput")
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 "rofiles.h"
86#include "rowtlapp.h"
87#include "rowtlcrack.h"
88#include "rodialogs.h"
89//#include "rocontrols.h"
90
91////////////////////////////////////////////////////////////
92// Common Controls
93
94//#if defined _M_IX86
95//  #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
96//#elif defined _M_IA64
97//  #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"")
98//#elif defined _M_X64
99//  #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
100//#else
101//  #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
102//#endif
Note: See TracBrowser for help on using the repository browser.