[95] | 1 | //////////////////////////////////////////////////////////// |
---|
| 2 | // Copyright (C) Roman Ryltsov, 2008-2009 |
---|
| 3 | // Created by Roman Ryltsov roman@alax.info |
---|
| 4 | // |
---|
| 5 | // $Id: stdafx.h 95 2012-08-17 17:21:13Z roman $ |
---|
| 6 | |
---|
| 7 | #pragma once |
---|
| 8 | |
---|
| 9 | //////////////////////////////////////////////////////////// |
---|
| 10 | // Windows definitions |
---|
| 11 | |
---|
| 12 | #define STRICT |
---|
| 13 | #define INLINE_HRESULT_FROM_WIN32 |
---|
| 14 | #define _INC_WINDOWSX |
---|
| 15 | |
---|
| 16 | #include "targetver.h" |
---|
| 17 | |
---|
| 18 | //////////////////////////////////////////////////////////// |
---|
| 19 | // ATL definitions |
---|
| 20 | |
---|
| 21 | #define _ATL_APARTMENT_THREADED |
---|
| 22 | #define _ATL_NO_AUTOMATIC_NAMESPACE |
---|
| 23 | #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS |
---|
| 24 | #define _ATL_ALL_WARNINGS |
---|
| 25 | //#define _ATL_ATTRIBUTES |
---|
| 26 | |
---|
| 27 | #include "roatltrace.h" // Replacement for <atltrace.h> |
---|
| 28 | #include <atlbase.h> |
---|
| 29 | #include <atlcom.h> |
---|
| 30 | #include <atlwin.h> |
---|
| 31 | #include <atltypes.h> |
---|
| 32 | #include <atlsync.h> |
---|
| 33 | #include <atlfile.h> |
---|
| 34 | #include <atlpath.h> |
---|
| 35 | #include <atlcoll.h> |
---|
| 36 | #include <atlrx.h> |
---|
| 37 | #include <atlctl.h> |
---|
| 38 | //#include <atlhost.h> |
---|
| 39 | |
---|
| 40 | using namespace ATL; |
---|
| 41 | using namespace ATL::ATLPath; |
---|
| 42 | |
---|
| 43 | //////////////////////////////////////////////////////////// |
---|
| 44 | // WTL |
---|
| 45 | |
---|
| 46 | #define _SECURE_ATL TRUE |
---|
| 47 | #define _WTL_NO_CSTRING |
---|
| 48 | #define _WTL_NO_WTYPES |
---|
| 49 | #define _WTL_NO_UNION_CLASSES |
---|
| 50 | #define _WTL_NEW_PAGE_NOTIFY_HANDLERS |
---|
| 51 | |
---|
| 52 | #include <atlapp.h> |
---|
| 53 | #include <atlgdi.h> |
---|
| 54 | #include <atluser.h> |
---|
| 55 | #include <atlcrack.h> |
---|
| 56 | #include <atlctrls.h> |
---|
| 57 | #include <shellapi.h> |
---|
| 58 | #include <atlctrlx.h> |
---|
| 59 | #include <atlmisc.h> |
---|
| 60 | #include <atlframe.h> |
---|
| 61 | #include <atldlgs.h> |
---|
| 62 | |
---|
| 63 | using namespace WTL; |
---|
| 64 | |
---|
| 65 | //////////////////////////////////////////////////////////// |
---|
| 66 | // Alax.Info ATL/WTL |
---|
| 67 | |
---|
| 68 | #define REGISTRY_PRODUCTROOT _T("SOFTWARE\\Alax.Info\\Utilities") |
---|
| 69 | #define REGISTRY_FILEROOT REGISTRY_PRODUCTROOT |
---|
| 70 | #define REGISTRY_ROOT REGISTRY_FILEROOT |
---|
| 71 | |
---|
| 72 | #include "roatlbase.h" |
---|
| 73 | #include "roatlvariants.h" |
---|
| 74 | #include "roatlcollections.h" |
---|
| 75 | #include "roatlcom.h" |
---|
| 76 | #include "roatlpersist.h" |
---|
| 77 | #include "roatlmisc.h" |
---|
| 78 | #include "roatlexceptionfilter.h" |
---|
| 79 | #include "rowtlapp.h" |
---|
| 80 | #include "rowtlcrack.h" |
---|
| 81 | #include "rodialogs.h" |
---|
| 82 | #include "rocontrols.h" |
---|
| 83 | |
---|
| 84 | //////////////////////////////////////////////////////////// |
---|
| 85 | // Common Controls |
---|
| 86 | |
---|
| 87 | #if defined _M_IX86 |
---|
| 88 | #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") |
---|
| 89 | #elif defined _M_IA64 |
---|
| 90 | #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") |
---|
| 91 | #elif defined _M_X64 |
---|
| 92 | #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") |
---|
| 93 | #else |
---|
| 94 | #pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") |
---|
| 95 | #endif |
---|