source: trunk/Utilities/ReadHardwareIdentifiers/stdafx.h

Last change on this file was 94, checked in by roman, 10 years ago
  • Property svn:keywords set to Id
File size: 2.0 KB
Line 
1////////////////////////////////////////////////////////////
2// Copyright (C) Roman Ryltsov, 2008-2012
3// Created by Roman Ryltsov roman@alax.info
4//
5// $Id: stdafx.h 94 2012-08-17 11:21:09Z roman $
6
7#pragma once
8
9////////////////////////////////////////////////////////////
10// Windows definitions
11
12#ifndef STRICT
13#define STRICT
14#endif
15
16#define _INC_WINDOWSX
17
18#include "targetver.h"
19#include <stdio.h>
20#include <tchar.h>
21#include <math.h>
22
23////////////////////////////////////////////////////////////
24// ATL definitions
25
26#define _ATL_APARTMENT_THREADED
27#define _ATL_NO_AUTOMATIC_NAMESPACE
28#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS
29#define _ATL_ALL_WARNINGS
30//#define ATL_NO_ASSERT_ON_DESTROY_NONEXISTENT_WINDOW
31
32#include "roatltrace.h" // Replacement for <atltrace.h>
33#include <atlbase.h>
34#include <atlcom.h>
35#include <atlwin.h>
36#include <atltypes.h>
37#include <atlsync.h>
38#include <atlfile.h>
39#include <atlpath.h>
40#include <atlcoll.h>
41#include <atlrx.h>
42#include <atlctl.h>
43//#include <atlhost.h>
44
45using namespace ATL;
46using namespace ATL::ATLPath;
47
48////////////////////////////////////////////////////////////
49// WTL
50
51#define _WTL_NO_CSTRING
52#define _WTL_NO_WTYPES
53#define _WTL_NO_UNION_CLASSES
54#define _WTL_NEW_PAGE_NOTIFY_HANDLERS
55
56#include <atlapp.h>
57#include <atlgdi.h>
58#include <atluser.h>
59#include <atlcrack.h>
60#include <atlctrls.h>
61#include <shellapi.h>
62//#include <atlctrlx.h>
63#include <atlmisc.h>
64#include <atlframe.h>
65#include <atldlgs.h>
66
67using namespace WTL;
68
69////////////////////////////////////////////////////////////
70// Alax.Info ATL/WTL
71
72#define REGISTRY_PRODUCTROOT    _T("SOFTWARE\\Alax.Info\\Utilities")
73#define REGISTRY_FILEROOT               REGISTRY_PRODUCTROOT _T("\\ReadHardwareIdentifiers")
74#define REGISTRY_ROOT                   REGISTRY_FILEROOT
75
76#include "roatlbase.h"
77#include "roatlvariants.h"
78#include "roatlcom.h"
79#include "roatlpersist.h"
80#include "roatlmisc.h"
81#include "roatlexceptionfilter.h"
82#include "rowtlapp.h"
83//#include "rowtlcrack.h"
84//#include "rodialogs.h"
85//#include "rocontrols.h"
86
Note: See TracBrowser for help on using the repository browser.