source: trunk/MFCtooling/TestProg/stdafx.h @ 482

Last change on this file since 482 was 32, checked in by sherbold, 14 years ago
File size: 2.0 KB
Line 
1// stdafx.h : include file for standard system include files,
2// or project specific include files that are used frequently,
3// but are changed infrequently
4
5#pragma once
6
7#ifndef _SECURE_ATL
8#define _SECURE_ATL 1
9#endif
10
11#ifndef VC_EXTRALEAN
12#define VC_EXTRALEAN            // Exclude rarely-used stuff from Windows headers
13#endif
14
15#include "targetver.h"
16
17#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS      // some CString constructors will be explicit
18
19// turns off MFC's hiding of some common and often safely ignored warning messages
20#define _AFX_ALL_WARNINGS
21
22#include <afxwin.h>         // MFC core and standard components
23#include <afxext.h>         // MFC extensions
24
25#include <afxole.h>         // MFC OLE classes
26#include <afxodlgs.h>       // MFC OLE dialog classes
27
28#include <afxdisp.h>        // MFC Automation classes
29
30
31
32#ifndef _AFX_NO_OLE_SUPPORT
33#include <afxdtctl.h>           // MFC support for Internet Explorer 4 Common Controls
34#endif
35#ifndef _AFX_NO_AFXCMN_SUPPORT
36#include <afxcmn.h>                     // MFC support for Windows Common Controls
37#endif // _AFX_NO_AFXCMN_SUPPORT
38
39
40
41
42
43
44
45
46
47#ifdef _UNICODE
48#if defined _M_IX86
49#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
50#elif defined _M_IA64
51#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"")
52#elif defined _M_X64
53#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
54#else
55#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
56#endif
57#endif
58
59
Note: See TracBrowser for help on using the repository browser.