// stdafx.h : 자주 사용하지만 자주 변경되지는 않는 // 표준 시스템 포함 파일 및 프로젝트 관련 포함 파일이 // 들어 있는 포함 파일입니다. #pragma once #ifndef _SECURE_ATL #define _SECURE_ATL 1 #endif #ifndef VC_EXTRALEAN #define VC_EXTRALEAN // 거의 사용되지 않는 내용은 Windows 헤더에서 제외합니다. #endif // 아래 지정된 플랫폼에 우선하는 플랫폼을 대상으로 하는 경우 다음 정의를 수정하십시오. // 다른 플랫폼에 사용되는 해당 값의 최신 정보는 MSDN을 참조하십시오. #ifndef WINVER // Windows XP 이상에서만 기능을 사용할 수 있습니다. #define WINVER 0x0501 // 다른 버전의 Windows에 맞도록 적합한 값으로 변경해 주십시오. #endif #ifndef _WIN32_WINNT // Windows XP 이상에서만 기능을 사용할 수 있습니다. #define _WIN32_WINNT 0x0501 // 다른 버전의 Windows에 맞도록 적합한 값으로 변경해 주십시오. #endif #ifndef _WIN32_WINDOWS // Windows 98 이상에서만 기능을 사용할 수 있습니다. #define _WIN32_WINDOWS 0x0410 // Windows Me 이상에 맞도록 적합한 값으로 변경해 주십시오. #endif #ifndef _WIN32_IE // IE 6.0 이상에서만 기능을 사용할 수 있습니다. #define _WIN32_IE 0x0600 // 다른 버전의 IE에 맞도록 적합한 값으로 변경해 주십시오. #endif #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // 일부 CString 생성자는 명시적으로 선언됩니다. // MFC의 공통 부분과 무시 가능한 경고 메시지에 대한 숨기기를 해제합니다. #define _AFX_ALL_WARNINGS #include // MFC 핵심 및 표준 구성 요소입니다. #include // MFC 확장입니다. [!if APP_TYPE_MTLD && !DOCVIEW] #include // MFC 컬렉션 클래스입니다. [!endif] [!if TREE_VIEW || LIST_VIEW || PROJECT_STYLE_EXPLORER] #include [!endif] [!if CONTAINER || MINI_SERVER || FULL_SERVER || CONTAINER_SERVER] #include // MFC OLE 클래스입니다. [!if CONTAINER || CONTAINER_SERVER] #include // MFC OLE 대화 상자 클래스입니다. [!endif] [!endif] [!if AUTOMATION || ACTIVEX_CONTROLS] #include // MFC 자동화 클래스입니다. [!endif] [!if ACTIVE_DOC_SERVER] #include [!endif] [!if DB_SUPPORT_HEADER_ONLY || DB_VIEW_NO_FILE] // 여기에서 최소한의 DB 지원을 요청합니다. 선택된 뷰가 없습니다. [!endif] [!if DB_VIEW_WITH_FILE] // 여기에서 뷰에 대한 DB 지원이 선택됩니다. [!endif] #ifndef _AFX_NO_OLE_SUPPORT #include // Internet Explorer 4 공용 컨트롤에 대한 MFC 지원입니다. #endif #ifndef _AFX_NO_AFXCMN_SUPPORT #include // Windows 공용 컨트롤에 대한 MFC 지원입니다. #endif // _AFX_NO_AFXCMN_SUPPORT [!if HTML_VIEW || HTML_EDITVIEW] #include // MFC HTML 뷰 지원 [!endif] [!if SOCKETS] #include // MFC 소켓 확장 [!endif] [!if RICH_EDIT_VIEW] #include // MFC rich edit 클래스 [!endif] [!if ATL_SUPPORT] #include extern CComModule _Module; [!endif] [!if OLEDB] #include #include #include [!endif] [!if DB_SUPPORT_OLEDB && DB_SUPPORT_HEADER_ONLY ] #include #include #include [!endif] [!if ODBC] #include // ODBC [!endif] [!if DB_SUPPORT_ODBC && DB_SUPPORT_HEADER_ONLY ] #include // ODBC [!endif] [!if HTML_DIALOG] #include // HTML 대화 상자 [!endif] [!if APP_TYPE_DLG] [!if AUTOMATION] // 이 매크로는 COleObjectFactory 생성자에 대한 bMultiInstance 매개 변수에 TRUE를 // 전달하는 점만 제외하면 IMPLEMENT_OLECREATE와 같습니다. // 자동화 컨트롤러에서 요청한 각 자동화 프록시 개체에 대해 // 이 응용 프로그램에 대한 별도의 인스턴스가 시작되도록 합니다. #ifndef IMPLEMENT_OLECREATE2 #define IMPLEMENT_OLECREATE2(class_name, external_name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ AFX_DATADEF COleObjectFactory class_name::factory(class_name::guid, \ RUNTIME_CLASS(class_name), TRUE, _T(external_name)); \ const AFX_DATADEF GUID class_name::guid = \ { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }; #endif // IMPLEMENT_OLECREATE2 [!endif] [!endif] [!if MANIFEST] #ifdef _UNICODE #if defined _M_IX86 #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"") #elif defined _M_IA64 #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='ia64' publicKeyToken='6595b64144ccf1df' language='*'\"") #elif defined _M_X64 #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"") #else #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"") #endif #endif [!endif]