诸暨麻将添加redis
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 
 

111 rader
4.1 KiB

  1. // stdafx.h : 标准系统包含文件的包含文件,
  2. // 或是经常使用但不常更改的
  3. // 特定于项目的包含文件
  4. #pragma once
  5. #ifndef VC_EXTRALEAN
  6. #define VC_EXTRALEAN // 从 Windows 头中排除极少使用的资料
  7. #endif
  8. #define CRTDBG_MAP_ALLOC //内存检查@yuanjing
  9. #include <stdlib.h>
  10. #include <crtdbg.h>
  11. #include "targetver.h"
  12. #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // 某些 CString 构造函数将是显式的
  13. // 关闭 MFC 对某些常见但经常可放心忽略的警告消息的隐藏
  14. #define _AFX_ALL_WARNINGS
  15. #include <afxwin.h> // MFC 核心组件和标准组件
  16. #include <afxext.h> // MFC 扩展
  17. #include <afxdisp.h> // MFC 自动化类
  18. #ifndef _AFX_NO_OLE_SUPPORT
  19. #include <afxdtctl.h> // MFC 对 Internet Explorer 4 公共控件的支持
  20. #endif
  21. #ifndef _AFX_NO_AFXCMN_SUPPORT
  22. #include <afxcmn.h> // MFC 对 Windows 公共控件的支持
  23. #endif // _AFX_NO_AFXCMN_SUPPORT
  24. #include <afxcontrolbars.h> // 功能区和控件条的 MFC 支持
  25. ////////////////////////////////////////////////////////////////////
  26. //包含文件
  27. //平台定义
  28. #include "..\..\GlobalDef\Platform.h"
  29. #include "..\..\MessageDef\CMD_Correspond.h"
  30. #include "..\..\MessageDef\CMD_GameServer.h"
  31. #include "..\..\MessageDef\CMD_LogonServer.h"
  32. //组件定义
  33. #include "..\..\SharedControl\ServiceCore\ServiceCoreHead.h"
  34. #include "..\..\ServerControl\GameService\GameServiceHead.h"
  35. #include "..\..\ServerControl\MatchService\MatchServiceHead.h"
  36. #include "..\..\ServerControl\KernelEngine\KernelEngineHead.h"
  37. #include "..\..\ServerControl\ModuleManager\ModuleManagerHead.h"
  38. #include <strsafe.h>
  39. #include "ZBase64.h"
  40. #include"ZuoBiao.h"
  41. #include "Timer.h""
  42. //////////////////////////////////////////////////////////////////////////////////
  43. //链接代码
  44. #ifndef _DEBUG
  45. #ifndef _UNICODE
  46. #pragma comment (lib,"../../Libs/Release_Ansi/ServiceCore.lib")
  47. #pragma comment (lib,"../../Libs/Release_Ansi/GameService.lib")
  48. #pragma comment (lib,"../../Libs/Release_Ansi/KernelEngine.lib")
  49. #pragma comment (lib,"../../Libs/Release_Ansi/ModuleManager.lib")
  50. #pragma comment (lib,"../../Libs/Debug_Unicode/create_dump.lib")
  51. #pragma comment (lib,"../../Libs/Release_Unicode/libcurl.lib")
  52. #else
  53. #pragma comment (lib,"../../Libs/Release_Unicode/ServiceCore.lib")
  54. #pragma comment (lib,"../../Libs/Release_Unicode/GameService.lib")
  55. #pragma comment (lib,"../../Libs/Release_Unicode/KernelEngine.lib")
  56. #pragma comment (lib,"../../Libs/Release_Unicode/ModuleManager.lib")
  57. #pragma comment (lib,"../../Libs/Release_Unicode/create_dump.lib")
  58. #pragma comment (lib,"../../Libs/Release_Unicode/libcurl.lib")
  59. #endif
  60. #else
  61. #ifndef _UNICODE
  62. #pragma comment (lib,"../../Libs/Debug_Ansi/ServiceCoreD.lib")
  63. #pragma comment (lib,"../../Libs/Debug_Ansi/GameServiceD.lib")
  64. #pragma comment (lib,"../../Libs/Debug_Ansi/KernelEngineD.lib")
  65. #pragma comment (lib,"../../Libs/Debug_Ansi/ModuleManagerD.lib")
  66. #pragma comment (lib,"../../Libs/Debug_Unicode/create_dumpD.lib")
  67. #pragma comment (lib,"../../Libs/Debug_Unicode/libcurl.lib")
  68. #else
  69. #pragma comment (lib,"../../Libs/Debug_Unicode/ServiceCoreD.lib")
  70. #pragma comment (lib,"../../Libs/Debug_Unicode/GameServiceD.lib")
  71. #pragma comment (lib,"../../Libs/Debug_Unicode/KernelEngineD.lib")
  72. #pragma comment (lib,"../../Libs/Debug_Unicode/ModuleManagerD.lib")
  73. #pragma comment (lib,"../../Libs/Debug_Unicode/create_dumpD.lib")
  74. #pragma comment (lib,"../../Libs/Debug_Unicode/libcurl.lib")
  75. #endif
  76. #endif
  77. /////////////////////////////////////////////////////////////////////
  78. #ifdef _UNICODE
  79. #if defined _M_IX86
  80. #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
  81. #elif defined _M_X64
  82. #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
  83. #else
  84. #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
  85. #endif
  86. #endif