StdAfx.h
上传用户:szopptop
上传日期:2013-04-23
资源大小:1047k
文件大小:2k
- // stdafx.h : include file for standard system include files,
- // or project specific include files that are used frequently, but
- // are changed infrequently
- //
- #if !defined(AFX_STDAFX_H__A9DB83DB_A9FD_11D0_BFD1_444553540000__INCLUDED_)
- #define AFX_STDAFX_H__A9DB83DB_A9FD_11D0_BFD1_444553540000__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #define UNICODE
- #define _UNICODE
- //#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
- #pragma warning( disable : 4146 )
- #include <winsock2.h>
- #include <windows.h>
- #include <tchar.h>
- #include <crtdbg.h>
- #include <commctrl.h>
- #include <time.h>
- #include <process.h>
- #include "resource.h"
- #include "..DefEnDecode.h"
- #include "..DefServerSockHandler.h"
- #include "..DefMisc.h"
- #include "..DefProtocol.h"
- #include "..DefQueue.h"
- #include "..DefList.h"
- #include "LoginSvr.h"
- #pragma comment (lib, "ws2_32.lib")
- #pragma comment (lib, "comctl32.lib")
- // **************************************************************************************
- #define _LOGIN_SERVER_CLASS _TEXT("LoginServerClass")
- #define _LOGIN_SERVER_TITLE _TEXT("Login Server - Legend of Mir II")
- #define _LOGIN_SERVER_REGISTRY _TEXT("Software\LegendOfMir\LoginSvr")
- #define _LOGIN_SERVERLIST_REGISTRY _TEXT("Software\LegendOfMir\LoginSvr\Servers")
- #define _STATUS_HEIGHT 10
- #define _NUMOFMAX_STATUS_PARTS 7
-
- #define _IDM_GATECOMMSOCK_MSG WM_USER + 1000
- #define _IDM_CLIENTSOCK_MSG _IDM_GATECOMMSOCK_MSG + 1
- #define _IDW_TOOLBAR _IDM_GATECOMMSOCK_MSG + 2
- #define _IDW_STATUSBAR _IDM_GATECOMMSOCK_MSG + 3
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_STDAFX_H__A9DB83DB_A9FD_11D0_BFD1_444553540000__INCLUDED_)