12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- // stdafx.h : 标准系统包含文件的包含文件,
- // 或是经常使用但不常更改的
- // 项目特定的包含文件
- #pragma once
- #ifndef VC_EXTRALEAN
- #define VC_EXTRALEAN // 从 Windows 标头中排除不常使用的资料
- #endif
- // 如果您必须使用下列所指定的平台之前的平台,则修改下面的定义。
- // 有关不同平台的相应值的最新信息,请参考 MSDN。
- #ifndef WINVER // 允许使用 Windows 95 和 Windows NT 4 或更高版本的特定功能。
- #define WINVER 0x0501 //为 Windows98 和 Windows 2000 及更新版本改变为适当的值。
- #endif
- #ifndef _WIN32_WINNT // 允许使用 Windows NT 4 或更高版本的特定功能。
- #define _WIN32_WINNT 0x0501 //为 Windows98 和 Windows 2000 及更新版本改变为适当的值。
- #endif
- #ifndef _WIN32_WINDOWS // 允许使用 Windows 98 或更高版本的特定功能。
- #define _WIN32_WINDOWS 0x0501 //为 Windows Me 及更新版本改变为适当的值。
- #endif
- #ifndef _WIN32_IE // 允许使用 IE 4.0 或更高版本的特定功能。
- #define _WIN32_IE 0x0501 //为 IE 5.0 及更新版本改变为适当的值。
- #endif
- #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // 某些 CString 构造函数将是显式的
- // 关闭 MFC 对某些常见但经常被安全忽略的警告消息的隐藏
- #define _AFX_ALL_WARNINGS
- #define WIN32_LEAN_AND_MEAN
- #include <afxwin.h> // MFC 核心和标准组件
- #include <afxext.h> // MFC 扩展
- #include <afxdisp.h> // MFC 自动化类
- #include <afxdtctl.h> // Internet Explorer 4 公共控件的 MFC 支持
- #ifndef _AFX_NO_AFXCMN_SUPPORT
- #include <afxcmn.h> // Windows 公共控件的 MFC 支持
- #endif // _AFX_NO_AFXCMN_SUPPORT
- #include <afxtempl.h>
- #include "sizecbar.h"
- #include "DockPageBar.h"
- #include "AutoHideBar.h"
- #include "kernel.h"
- #if 1
- #pragma comment(lib,"Log4C.lib")
- #include "log4c.h"
- #endif
- #pragma warning(disable:4267)
- #pragma warning(disable:4311)
- #pragma warning(disable:4312)
- #pragma warning(disable:4244)
- #include "Const.h"
- #include "resource.h"
- #include "Global.h"
- #include "MTVERIFY.H"
- //#include "winsock2.h"
- #include "Permissions.h"
- #pragma comment(lib,"Permissions.lib")
- #include <mmsystem.h>
- #pragma comment(lib,"winmm.lib")//导入声音头文件库
- #include "DBConnection.h"
- using namespace SToneUDB;
- #include "DBInterface.h"
- using namespace DBInterface;
- #define ULONG_PTR ULONG
- #include "gdiplus.h"
- using namespace Gdiplus;
- #pragma comment(lib, "gdiplus.lib")
|