| AnyConnect Secure Mobility Client 5.1.1.42

- Main Page
- Related Pages
- Classes
- Files

- File List
- File Members

# examples/GUI/stdafx.h

    00001 /******************************************************************************\
    00002  *  This sample is supplied as is with no implied warranty.
    00003  *  It is designed to assist you in using the Cisco AnyConnect VPN API.
    00004  *  It is assumed that you will build a production application and
    00005  *  refer to this sample as a reference only.
    00006  \*****************************************************************************/
    00007
    00008 // stdafx.h : include file for standard system include files,
    00009 // or project specific include files that are used frequently,
    00010 // but are changed infrequently
    00011
    00012 #pragma once
    00013
    00014 #ifndef _SECURE_ATL
    00015 #define _SECURE_ATL 1
    00016 #endif
    00017
    00018 #ifndef VC_EXTRALEAN
    00019 #define VC_EXTRALEAN            // Exclude rarely-used stuff from Windows headers
    00020 #endif
    00021
    00022 // Modify the following defines if you have to target a platform prior to the ones specified below.
    00023 // Refer to MSDN for the latest info on corresponding values for different platforms.
    00024 #ifndef WINVER                          // Allow use of features specific to Windows XP or later.
    00025 #define WINVER 0x0501           // Change this to the appropriate value to target other versions of Windows.
    00026 #endif
    00027
    00028 #ifndef _WIN32_WINNT            // Allow use of features specific to Windows XP or later.
    00029 #define _WIN32_WINNT 0x0501     // Change this to the appropriate value to target other versions of Windows.
    00030 #endif
    00031
    00032 #ifndef _WIN32_WINDOWS          // Allow use of features specific to Windows 98 or later.
    00033 #define _WIN32_WINDOWS 0x0410 // Change this to the appropriate value to target Windows Me or later.
    00034 #endif
    00035
    00036 #ifndef _WIN32_IE                       // Allow use of features specific to IE 6.0 or later.
    00037 #define _WIN32_IE 0x0600        // Change this to the appropriate value to target other versions of IE.
    00038 #endif
    00039
    00040 #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS      // some CString constructors will be explicit
    00041
    00042 // turns off MFC's hiding of some common and often safely ignored warning messages
    00043 #define _AFX_ALL_WARNINGS
    00044
    00045 #include <afxwin.h>         // MFC core and standard components
    00046 #include <afxext.h>         // MFC extensions
    00047
    00048
    00049
    00050
    00051
    00052 #ifndef _AFX_NO_OLE_SUPPORT
    00053 #include <afxdtctl.h>           // MFC support for Internet Explorer 4 Common Controls
    00054 #endif
    00055 #ifndef _AFX_NO_AFXCMN_SUPPORT
    00056 #include <afxcmn.h>                     // MFC support for Windows Common Controls
    00057 #endif // _AFX_NO_AFXCMN_SUPPORT
    00058
    00059
    00060
    00061
    00062
    00063
    00064
    00065
    00066
    00067 #ifdef _UNICODE
    00068 #if defined _M_IX86
    00069 #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
    00070 #elif defined _M_IA64
    00071 #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"")
    00072 #elif defined _M_X64
    00073 #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
    00074 #else
    00075 #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
    00076 #endif
    00077 #endif
    00078
    00079