AppCore
Loading...
Searching...
No Matches
stdafx.h
Go to the documentation of this file.
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#pragma once
6
7#ifndef WIN32
8
9 // NOTE - this is value is not strongly correlated to the Windows CE OS version being targeted
10 #define WINVER _WIN32_WCE
11
12 #ifndef VC_EXTRALEAN
13 #define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
14 #endif
15
16 #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
17
18 #ifdef _CE_DCOM
19 #define _ATL_APARTMENT_THREADED
20 #endif
21
22 #include <ceconfig.h>
23 #if defined(WIN32_PLATFORM_PSPC) || defined(WIN32_PLATFORM_WFSP)
24 #define SHELL_AYGSHELL
25 #endif
26
27 #include <afxwin.h> // MFC core and standard components
28 #include <afxext.h> // MFC extensions
29
30 #ifndef _AFX_NO_OLE_SUPPORT
31 #include <afxole.h> // MFC OLE classes
32 #include <afxodlgs.h> // MFC OLE dialog classes
33 #include <afxdisp.h> // MFC Automation classes
34 #endif // _AFX_NO_OLE_SUPPORT
35
36 #include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
37 #ifndef _AFX_NO_AFXCMN_SUPPORT
38 #include <afxcmn.h> // MFC support for Windows Common Controls
39 #endif // _AFX_NO_AFXCMN_SUPPORT
40
41
42 #if defined(WIN32_PLATFORM_PSPC) || defined(WIN32_PLATFORM_WFSP)
43 #ifndef _DEVICE_RESOLUTION_AWARE
44 #define _DEVICE_RESOLUTION_AWARE
45 #endif
46 #endif
47
48 #ifdef _DEVICE_RESOLUTION_AWARE
49 #include "DeviceResolutionAware.h"
50 #endif
51
52
53 #ifdef SHELL_AYGSHELL
54 #include <aygshell.h>
55 #pragma comment(lib, "aygshell.lib")
56 #endif // SHELL_AYGSHELL
57
58 #if (_WIN32_WCE < 0x500) && ( defined(WIN32_PLATFORM_PSPC) || defined(WIN32_PLATFORM_WFSP) )
59 #pragma comment(lib, "ccrtrtti.lib")
60 #ifdef _X86_
61 #if defined(_DEBUG)
62 #pragma comment(lib, "libcmtx86d.lib")
63 #else
64 #pragma comment(lib, "libcmtx86.lib")
65 #endif
66 #endif
67 #endif
68
69 #include <altcecrt.h>
70
71#endif
72
73