Files
2026-11-07 13:30:45 +07:00

75 lines
2.5 KiB
C++

// stdafx.h : 잘 변경되지 않고 자주 사용하는
// 표준 시스템 포함 파일 및 프로젝트 관련 포함 파일이
// 들어 있는 포함 파일입니다.
#pragma once
#ifndef VC_EXTRALEAN
#define VC_EXTRALEAN // Windows 헤더에서 거의 사용되지 않는 내용을 제외시킵니다.
#endif
// Modify the following defines if you have to target a platform prior to the ones specified below.
// Refer to MSDN for the latest info on corresponding values for different platforms.
#ifndef WINVER // Allow use of features specific to Windows 95 and Windows NT 4 or later.
#define WINVER 0x0501 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
#endif
#ifndef _WIN32_WINNT // Allow use of features specific to Windows NT 4 or later.
#define _WIN32_WINNT 0x0501 // Change this to the appropriate value to target Windows 98 and Windows 2000 or later.
#endif
#ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 or later.
#define _WIN32_WINDOWS 0x0501 // Change this to the appropriate value to target Windows Me or later.
#endif
#ifndef _WIN32_IE // Allow use of features specific to IE 4.0 or later.
#define _WIN32_IE 0x0500 // Change this to the appropriate value to target IE 5.0 or later.
#endif
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // 일부 CString 생성자는 명시적으로 선언됩니다.
// MFC의 공통 부분과 무시 가능한 경고 메시지에 대한 숨기기를 해제합니다.
#define _AFX_ALL_WARNINGS
#include <afxwin.h> // MFC 핵심 및 표준 구성 요소
#include <afxext.h> // MFC 익스텐션
#include <afxdisp.h> // MFC 자동화 클래스
#include "common.h"
#include <winsock2.h>
#include <afxdtctl.h> // Internet Explorer 4 공용 컨트롤에 대한 MFC 지원
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h> // Windows 공용 컨트롤에 대한 MFC 지원
#endif // _AFX_NO_AFXCMN_SUPPORT
#define WM_LOG WM_USER +1
#include <vector>
using namespace std;
#include "network\ioHashString.h"
#include "QueryData\QueryData.h"
#include "QueryData\QueryResultData.h"
#include "QueryData\cSerialize.h"
//결과 행동
#define _RESULT_CHECK 0
#define _RESULT_NAUGHT 1
#define _RESULT_DESTROY 2
//작업 방식
#define _INSERTDB 0
#define _DELETEDB 1
#define _SELECTDB 2
#define _UPDATEDB 3
#define _SELECTEX1DB 4
#define DBAGENT_TOTAL_REG_USER_SET 0x0002
#define DBAGENT_GUILD_INFO_GET 0x0003
#define GUILD_NAME_NUM_PLUS_ONE 21
#define GUILD_TITLE_NUMBER_PLUS_ONE 111
extern int m_iDBAgentThreadID;