诸暨麻将添加redis
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

103 rivejä
3.1 KiB

  1. // stdafx.h : 标准系统包含文件的包含文件,
  2. // 或是经常使用但不常更改的
  3. // 特定于项目的包含文件
  4. #pragma once
  5. #ifndef VC_EXTRALEAN
  6. #define VC_EXTRALEAN // 从 Windows 头中排除极少使用的资料
  7. #endif
  8. #include "targetver.h"
  9. #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // 某些 CString 构造函数将是显式的
  10. // 关闭 MFC 对某些常见但经常可放心忽略的警告消息的隐藏
  11. #define _AFX_ALL_WARNINGS
  12. #include <afxwin.h> // MFC 核心组件和标准组件
  13. #include <afxext.h> // MFC 扩展
  14. #include <afxdisp.h> // MFC 自动化类
  15. #ifndef _AFX_NO_OLE_SUPPORT
  16. #include <afxdtctl.h> // MFC 对 Internet Explorer 4 公共控件的支持
  17. #endif
  18. #ifndef _AFX_NO_AFXCMN_SUPPORT
  19. #include <afxcmn.h> // MFC 对 Windows 公共控件的支持
  20. #endif // _AFX_NO_AFXCMN_SUPPORT
  21. #include <afxcontrolbars.h> // 功能区和控件条的 MFC 支持
  22. //////////////////////////////////////////////////////////////////////////////////
  23. //包含文件
  24. //平台定义
  25. #include "..\..\GlobalDef\Platform.h"
  26. #include "..\..\MessageDef\CMD_Correspond.h"
  27. //组件定义
  28. #include "..\..\SharedControl\ServiceCore\ServiceCoreHead.h"
  29. #include "..\..\ServerControl\KernelEngine\KernelEngineHead.h"
  30. //随机序列
  31. struct STRUCTRANDOM
  32. {
  33. DWORD dwRandom; //随机值
  34. };
  35. //当前随机序列总表
  36. struct STRUCTRANDOMALL
  37. {
  38. STRUCTRANDOM stData[90 * 10000]; //随机值单体
  39. DWORD bPlay;//指针。
  40. };
  41. //////////////////////////////////////////////////////////////////////////////////
  42. //链接代码
  43. #ifndef _DEBUG
  44. #ifndef _UNICODE
  45. #pragma comment (lib,"../../Libs/Release_Ansi/ServiceCore.lib")
  46. #pragma comment (lib,"../../Libs/Release_Ansi/KernelEngine.lib")
  47. #pragma comment (lib,"../../Libs/Release_Unicode/create_dump.lib")
  48. #else
  49. #pragma comment (lib,"../../Libs/Release_Unicode/ServiceCore.lib")
  50. #pragma comment (lib,"../../Libs/Release_Unicode/KernelEngine.lib")
  51. #pragma comment (lib,"../../Libs/Release_Unicode/create_dump.lib")
  52. #endif
  53. #else
  54. #ifndef _UNICODE
  55. #pragma comment (lib,"../../Libs/Debug_Ansi/ServiceCoreD.lib")
  56. #pragma comment (lib,"../../Libs/Debug_Ansi/KernelEngineD.lib")
  57. #pragma comment (lib,"../../Libs/Debug_Unicode/create_dumpD.lib")
  58. #else
  59. #pragma comment (lib,"../../Libs/Debug_Unicode/ServiceCoreD.lib")
  60. #pragma comment (lib,"../../Libs/Debug_Unicode/KernelEngineD.lib")
  61. #pragma comment (lib,"../../Libs/Debug_Unicode/create_dumpD.lib")
  62. #endif
  63. #endif
  64. //////////////////////////////////////////////////////////////////////////////////
  65. #ifdef _UNICODE
  66. #if defined _M_IX86
  67. #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='x86' publicKeyToken='6595b64144ccf1df' language='*'\"")
  68. #elif defined _M_X64
  69. #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language='*'\"")
  70. #else
  71. #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")
  72. #endif
  73. #endif