56 lines
1.2 KiB
C
56 lines
1.2 KiB
C
|
|
// stdafx.h : <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ʴ<EFBFBD>
|
|||
|
|
// ǥ<><C7A5> <20>ý<EFBFBD><C3BD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
|
// <20><><EFBFBD><EFBFBD> <20>ִ<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>Դϴ<D4B4>.
|
|||
|
|
//
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
|
|||
|
|
#ifndef _WIN32_WINNT // Allow use of features specific to Windows XP or later.
|
|||
|
|
#define _WIN32_WINNT 0x0501 // Change this to the appropriate value to target other versions of Windows.
|
|||
|
|
#endif
|
|||
|
|
|
|||
|
|
#define WIN32_LEAN_AND_MEAN // <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ʴ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Windows <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>մϴ<D5B4>.
|
|||
|
|
|
|||
|
|
// TODO: <20><><EFBFBD>α<CEB1><D7B7><EFBFBD> <20>ʿ<EFBFBD><CABF><EFBFBD> <20>߰<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><E2BFA1> <20><><EFBFBD><EFBFBD><EFBFBD>մϴ<D5B4>.
|
|||
|
|
#include <windows.h>
|
|||
|
|
#include <tchar.h>
|
|||
|
|
#include <string>
|
|||
|
|
|
|||
|
|
|
|||
|
|
// stl
|
|||
|
|
#include <vector>
|
|||
|
|
#include <deque>
|
|||
|
|
#include <list>
|
|||
|
|
#include <set>
|
|||
|
|
#include <map>
|
|||
|
|
#include <queue>
|
|||
|
|
#include <deque>
|
|||
|
|
#include <hash_map>
|
|||
|
|
#include <algorithm>
|
|||
|
|
#include <string>
|
|||
|
|
|
|||
|
|
#include "../DNDefine.h"
|
|||
|
|
|
|||
|
|
#ifdef _UNICODE
|
|||
|
|
typedef std::wstring tstring;
|
|||
|
|
#else
|
|||
|
|
typedef std::string tstring;
|
|||
|
|
#endif
|
|||
|
|
|
|||
|
|
#ifndef SAFE_DELETE
|
|||
|
|
#define SAFE_DELETE(p) { if(p) { delete (p); (p)=NULL; } }
|
|||
|
|
#endif
|
|||
|
|
#ifndef SAFE_DELETE_ARRAY
|
|||
|
|
#define SAFE_DELETE_ARRAY(p) { if(p) { delete[] (p); (p)=NULL; } }
|
|||
|
|
#endif
|
|||
|
|
//#ifndef SAFE_RELEASE
|
|||
|
|
//#define SAFE_RELEASE(p) { if(p) { (p)->Release(); (p)=NULL; } }
|
|||
|
|
//#endif
|
|||
|
|
|
|||
|
|
|
|||
|
|
#ifdef _UNICODE
|
|||
|
|
typedef std::wstring tstring;
|
|||
|
|
#else
|
|||
|
|
typedef std::string tstring;
|
|||
|
|
#endif
|