Polygon Crucher SDK - Documentation
Documentation
Loading...
Searching...
No Matches
CommonStdAfx.h
1// stdafx.h : include file for standard system include files,
2// or project specific include files that are used frequently, but
3// are changed infrequently
4//
5
6#if !defined(AFX_STDAFX_H__5C623440_EE50_11D2_9A0C_000000000000__INCLUDED_)
7#define AFX_STDAFX_H__5C623440_EE50_11D2_9A0C_000000000000__INCLUDED_
8
9#ifdef WIN32
10
11// This adds the common controls manifest to manifest
12// Automatically added with VS2005. If the incorrect common control library is loaded, this will result in
13// a fails when loading the application.
14// Normally this line are enabled only for _UNICODE application. Others app, use the old windows style
15// because it might make app crash when subclassing EditBox
16#ifndef MOOTOOLS_INCLUDE_COMMON_CONTROLS
17#if defined _M_IX86
18#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
19#elif defined _M_IA64
20#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"")
21#elif defined _M_X64
22#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
23#else
24#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
25#endif
26#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
27#endif
28
29#pragma once
30
31#ifndef VC_EXTRALEAN
32#define VC_EXTRALEAN // Exclude rarely-used items from Windows headers.
33#endif
34
35#pragma warning( once : 4265 ) // Verify virtual destructor for base class
36#pragma warning( once : 4996 ) // Verify deprecation functions
37#pragma warning( once : 4244 ) // double to float, longuint to int...
38
39
40// Modify the following defines if you have to target an OS before the ones
41// specified in the following code. See MSDN for the latest information
42// about corresponding values for different operating systems.
43#ifndef WINVER // Permit use of features specific to Windows Me and Windows 2000 or later.
44#define WINVER 0x0601 // Change this to the appropriate value to target
45#endif // Windows 98 and Windows 2000 or later.
46
47#ifndef _WIN32_WINNT // Permit use of features specific to Windows XP SP2 or later.
48#define _WIN32_WINNT 0x0601 // Change this to the appropriate value to target
49#endif // Windows 98 and Windows 2000 or later.
50
51#include <SDKDDKVer.h> // This performs some check on the above values
52
53#endif
54
55//{{AFX_INSERT_LOCATION}}
56// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
57
58#endif // !defined(AFX_STDAFX_H__5C623440_EE50_11D2_9A0C_000000000000__INCLUDED_)