1 | //////////////////////////////////////////////////////////// |
---|
2 | // Copyright (C) Roman Ryltsov, 2008-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 | // Windows definitions |
---|
12 | |
---|
13 | #ifndef STRICT |
---|
14 | #define STRICT |
---|
15 | #endif |
---|
16 | |
---|
17 | #define _INC_WINDOWSX |
---|
18 | |
---|
19 | #include "targetver.h" |
---|
20 | #include <stdio.h> |
---|
21 | #include <tchar.h> |
---|
22 | #include <math.h> |
---|
23 | |
---|
24 | //////////////////////////////////////////////////////////// |
---|
25 | // ATL definitions |
---|
26 | |
---|
27 | #define _ATL_APARTMENT_THREADED |
---|
28 | #define _ATL_NO_AUTOMATIC_NAMESPACE |
---|
29 | #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS |
---|
30 | #define _ATL_ALL_WARNINGS |
---|
31 | //#define ATL_NO_ASSERT_ON_DESTROY_NONEXISTENT_WINDOW |
---|
32 | |
---|
33 | #include "roatltrace.h" // Replacement for <atltrace.h> |
---|
34 | #include <atlbase.h> |
---|
35 | #include <atlcom.h> |
---|
36 | #include <atlwin.h> |
---|
37 | #include <atltypes.h> |
---|
38 | #include <atlsync.h> |
---|
39 | #include <atlfile.h> |
---|
40 | #include <atlpath.h> |
---|
41 | #include <atlcoll.h> |
---|
42 | #include <atlrx.h> |
---|
43 | #include <atlctl.h> |
---|
44 | //#include <atlhost.h> |
---|
45 | |
---|
46 | using namespace ATL; |
---|
47 | using namespace ATL::ATLPath; |
---|
48 | |
---|
49 | //////////////////////////////////////////////////////////// |
---|
50 | // WTL |
---|
51 | |
---|
52 | #define _WTL_NO_CSTRING |
---|
53 | #define _WTL_NO_WTYPES |
---|
54 | #define _WTL_NO_UNION_CLASSES |
---|
55 | #define _WTL_NEW_PAGE_NOTIFY_HANDLERS |
---|
56 | |
---|
57 | #include <atlapp.h> |
---|
58 | #include <atlgdi.h> |
---|
59 | #include <atluser.h> |
---|
60 | #include <atlcrack.h> |
---|
61 | #include <atlctrls.h> |
---|
62 | #include <shellapi.h> |
---|
63 | //#include <atlctrlx.h> |
---|
64 | #include <atlmisc.h> |
---|
65 | #include <atlframe.h> |
---|
66 | #include <atldlgs.h> |
---|
67 | |
---|
68 | using namespace WTL; |
---|
69 | |
---|
70 | //////////////////////////////////////////////////////////// |
---|
71 | // Alax.Info ATL/WTL |
---|
72 | |
---|
73 | #define REGISTRY_PRODUCTROOT _T("SOFTWARE\\Alax.Info\\Utility") |
---|
74 | #define REGISTRY_FILEROOT REGISTRY_PRODUCTROOT _T("\\EnumerateTransforms") |
---|
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 | |
---|