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 #pragma once
7
8 #pragma comment(linker, "/nodefaultlib:libc.lib")
9 #pragma comment(linker, "/nodefaultlib:libcd.lib")
10
11 // NOTE - this value is not strongly correlated to the Windows CE OS version being targeted
12 #define WINVER _WIN32_WCE
13
14 #include <ceconfig.h>
15 #if defined(WIN32_PLATFORM_PSPC) || defined(WIN32_PLATFORM_WFSP)
16 #define SHELL_AYGSHELL
17 #endif
18
19 #ifdef _CE_DCOM
20 #define _ATL_APARTMENT_THREADED
21 #endif
22
23 #ifdef SHELL_AYGSHELL
24 #include <aygshell.h>
25 #pragma comment(lib, "aygshell.lib")
26 #endif // SHELL_AYGSHELL
27
28
29 // Windows Header Files:
30 #include <windows.h>
31
32
33 #if defined(WIN32_PLATFORM_PSPC) || defined(WIN32_PLATFORM_WFSP)
34 #ifndef _DEVICE_RESOLUTION_AWARE
35 #define _DEVICE_RESOLUTION_AWARE
36 #endif
37 #endif
38
39 #ifdef _DEVICE_RESOLUTION_AWARE
40 #include "DeviceResolutionAware.h"
41 #endif
42
43 #if _WIN32_WCE < 0x500 && ( defined(WIN32_PLATFORM_PSPC) || defined(WIN32_PLATFORM_WFSP) )
44 #pragma comment(lib, "ccrtrtti.lib")
45 #ifdef _X86_
46 #if defined(_DEBUG)
47 #pragma comment(lib, "libcmtx86d.lib")
48 #else
49 #pragma comment(lib, "libcmtx86.lib")
50 #endif
51 #endif
52 #endif
53
54 #include <altcecrt.h>
55
56 // TODO: reference additional headers your program requires here
syntax highlighted by Code2HTML, v. 0.9.1