00001
00002
00003
00004
00005
00006 #pragma once
00007 #pragma warning(disable:4005) // マクロの再定義
00008
00009
00010 #ifndef _SECURE_ATL
00011 #define _SECURE_ATL 1
00012 #endif
00013
00014 #ifndef VC_EXTRALEAN
00015 #define VC_EXTRALEAN // Windows ヘッダーから使用されていない部分を除外します。
00016 #endif
00017
00018 #include "targetver.h"
00019
00020
00021 #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // 一部の CString コンストラクタは明示的です。
00022
00023
00024 #define _AFX_ALL_WARNINGS
00025
00026 #include <afxwin.h>
00027 #include <afxext.h>
00028 #include <afxdisp.h>
00029
00030 #ifndef _AFX_NO_OLE_SUPPORT
00031 #include <afxdtctl.h>
00032 #endif
00033 #ifndef _AFX_NO_AFXCMN_SUPPORT
00034 #include <afxcmn.h>
00035 #endif // _AFX_NO_AFXCMN_SUPPORT
00036
00037
00038
00039
00040
00041 #ifdef _UNICODE
00042 #if defined _M_IX86
00043 #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
00044 #elif defined _M_IA64
00045 #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"")
00046 #elif defined _M_X64
00047 #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
00048 #else
00049 #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
00050 #endif
00051 #endif