root/apps/windows_mobile/trunk/Smartphone/DottelSP/dottel/stdafx.h
@
371
| Revision 371, 3.0 kB (checked in by nadya, 4 years ago) |
|---|
| Line | |
|---|---|
| 1 | /* |
| 2 | * Copyright (c) 2008, Telnic Ltd. |
| 3 | * All rights reserved. |
| 4 | * Redistribution and use in source and binary forms, with or without modification, |
| 5 | * are permitted provided that the following conditions are met: |
| 6 | * Redistributions of source code must retain the above copyright notice, |
| 7 | * this list of conditions and the following disclaimer. |
| 8 | * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and |
| 9 | * the following disclaimer in the documentation and/or other materials provided with the distribution. |
| 10 | * Neither the name of the Telnic Ltd. nor the names of its contributors may be used to endorse or promote |
| 11 | * products derived from this software without specific prior written permission. |
| 12 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED |
| 13 | * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A |
| 14 | * PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR |
| 15 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED |
| 16 | * TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
| 17 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 18 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF |
| 19 | * THE POSSIBILITY OF SUCH DAMAGE. |
| 20 | */ |
| 21 | |
| 22 | #pragma once |
| 23 | |
| 24 | #ifdef _X86_ |
| 25 | #pragma comment(linker, "/nodefaultlib:libc.lib") |
| 26 | #pragma comment(linker, "/nodefaultlib:libcd.lib") |
| 27 | #pragma comment(linker, "/nodefaultlib:oldnames.lib") |
| 28 | #endif |
| 29 | |
| 30 | #define WINVER _WIN32_WCE |
| 31 | |
| 32 | #include <ceconfig.h> |
| 33 | #if defined(WIN32_PLATFORM_PSPC) || defined(WIN32_PLATFORM_WFSP) |
| 34 | #define SHELL_AYGSHELL |
| 35 | #endif |
| 36 | |
| 37 | #include <aygshell.h> |
| 38 | #pragma comment(lib, "aygshell.lib") |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | #if defined(WIN32_PLATFORM_PSPC) || defined(WIN32_PLATFORM_WFSP) |
| 45 | #ifndef _DEVICE_RESOLUTION_AWARE |
| 46 | #define _DEVICE_RESOLUTION_AWARE |
| 47 | #endif |
| 48 | #endif |
| 49 | |
| 50 | #ifdef _DEVICE_RESOLUTION_AWARE |
| 51 | #include "DeviceResolutionAware.h" |
| 52 | #endif |
| 53 | |
| 54 | #include <altcecrt.h> |
| 55 | |
| 56 | #ifdef _DLL // /MD |
| 57 | #if defined(_DEBUG) |
| 58 | #pragma comment(lib, "msvcrtd.lib") |
| 59 | #else |
| 60 | #pragma comment(lib, "msvcrt.lib") |
| 61 | #endif |
| 62 | #else // /MT |
| 63 | #if defined(_DEBUG) |
| 64 | #pragma comment(lib, "libcmtd.lib") |
| 65 | #else |
| 66 | #pragma comment(lib, "libcmt.lib") |
| 67 | #endif |
| 68 | #endif |
| 69 | |
| 70 | #if _WIN32_WCE < 0x500 && ( defined(WIN32_PLATFORM_PSPC) || defined(WIN32_PLATFORM_WFSP) ) |
| 71 | #pragma comment(lib, "ccrtrtti.lib") |
| 72 | #ifdef _X86_ |
| 73 | #if defined(_DEBUG) |
| 74 | #pragma comment(lib, "libcmtx86d.lib") |
| 75 | #else |
| 76 | #pragma comment(lib, "libcmtx86.lib") |
| 77 | #endif |
| 78 | #endif |
| 79 | #endif |
| 80 | |
| 81 | #include <ocidl.h> |
| 82 | #include <appext.h> |
| 83 | #include "Macros.h" |
| 84 | |
| 85 |
Note: See TracBrowser
for help on using the browser.








