author | sl |
Mon, 21 Apr 2014 10:04:44 +0200 | |
changeset 13 | 6828ef797524 |
permissions | -rw-r--r-- |
StephaneLenclud@8 | 1 |
// stdafx.h : include file for standard system include files, |
StephaneLenclud@8 | 2 |
// or project specific include files that are used frequently, |
StephaneLenclud@8 | 3 |
// but are changed infrequently |
StephaneLenclud@8 | 4 |
|
StephaneLenclud@8 | 5 |
#pragma once |
StephaneLenclud@8 | 6 |
|
StephaneLenclud@8 | 7 |
#ifndef _SECURE_ATL |
StephaneLenclud@8 | 8 |
#define _SECURE_ATL 1 |
StephaneLenclud@8 | 9 |
#endif |
StephaneLenclud@8 | 10 |
|
StephaneLenclud@8 | 11 |
#ifndef VC_EXTRALEAN |
StephaneLenclud@8 | 12 |
#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers |
StephaneLenclud@8 | 13 |
#endif |
StephaneLenclud@8 | 14 |
|
StephaneLenclud@8 | 15 |
// Modify the following defines if you have to target a platform prior to the ones specified below. |
StephaneLenclud@8 | 16 |
// Refer to MSDN for the latest info on corresponding values for different platforms. |
StephaneLenclud@8 | 17 |
#ifndef WINVER // Allow use of features specific to Windows XP or later. |
StephaneLenclud@8 | 18 |
#define WINVER 0x0501 // Change this to the appropriate value to target other versions of Windows. |
StephaneLenclud@8 | 19 |
#endif |
StephaneLenclud@8 | 20 |
|
StephaneLenclud@8 | 21 |
#ifndef _WIN32_WINNT // Allow use of features specific to Windows XP or later. |
StephaneLenclud@8 | 22 |
#define _WIN32_WINNT 0x0501 // Change this to the appropriate value to target other versions of Windows. |
StephaneLenclud@8 | 23 |
#endif |
StephaneLenclud@8 | 24 |
|
StephaneLenclud@8 | 25 |
#ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later. |
StephaneLenclud@8 | 26 |
#define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later. |
StephaneLenclud@8 | 27 |
#endif |
StephaneLenclud@8 | 28 |
|
StephaneLenclud@8 | 29 |
#ifndef _WIN32_IE // Allow use of features specific to IE 6.0 or later. |
StephaneLenclud@8 | 30 |
#define _WIN32_IE 0x0600 // Change this to the appropriate value to target other versions of IE. |
StephaneLenclud@8 | 31 |
#endif |
StephaneLenclud@8 | 32 |
|
StephaneLenclud@8 | 33 |
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit |
StephaneLenclud@8 | 34 |
|
StephaneLenclud@8 | 35 |
// turns off MFC's hiding of some common and often safely ignored warning messages |
StephaneLenclud@8 | 36 |
#define _AFX_ALL_WARNINGS |
StephaneLenclud@8 | 37 |
|
StephaneLenclud@8 | 38 |
#include <afxwin.h> // MFC core and standard components |
StephaneLenclud@8 | 39 |
#include <afxext.h> // MFC extensions |
StephaneLenclud@8 | 40 |
|
StephaneLenclud@8 | 41 |
|
StephaneLenclud@8 | 42 |
#include <afxdisp.h> // MFC Automation classes |
StephaneLenclud@8 | 43 |
|
StephaneLenclud@8 | 44 |
|
StephaneLenclud@8 | 45 |
|
StephaneLenclud@8 | 46 |
#ifndef _AFX_NO_OLE_SUPPORT |
StephaneLenclud@8 | 47 |
#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls |
StephaneLenclud@8 | 48 |
#endif |
StephaneLenclud@8 | 49 |
#ifndef _AFX_NO_AFXCMN_SUPPORT |
StephaneLenclud@8 | 50 |
#include <afxcmn.h> // MFC support for Windows Common Controls |
StephaneLenclud@8 | 51 |
#endif // _AFX_NO_AFXCMN_SUPPORT |
StephaneLenclud@8 | 52 |
|
StephaneLenclud@8 | 53 |
#include "..\\..\\API\\iMONDisplayAPI.h" |
StephaneLenclud@8 | 54 |
#pragma comment(lib, "..\\..\\API\\iMONDisplay.lib") |
StephaneLenclud@8 | 55 |
|
StephaneLenclud@8 | 56 |
|
StephaneLenclud@8 | 57 |
|
StephaneLenclud@8 | 58 |
|
StephaneLenclud@8 | 59 |
|
StephaneLenclud@8 | 60 |
#ifdef _UNICODE |
StephaneLenclud@8 | 61 |
#if defined _M_IX86 |
StephaneLenclud@8 | 62 |
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") |
StephaneLenclud@8 | 63 |
#elif defined _M_IA64 |
StephaneLenclud@8 | 64 |
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") |
StephaneLenclud@8 | 65 |
#elif defined _M_X64 |
StephaneLenclud@8 | 66 |
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") |
StephaneLenclud@8 | 67 |
#else |
StephaneLenclud@8 | 68 |
#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") |
StephaneLenclud@8 | 69 |
#endif |
StephaneLenclud@8 | 70 |
#endif |
StephaneLenclud@8 | 71 |
|
StephaneLenclud@8 | 72 |