1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- // stdafx.h : 标准系统包含文件的包含文件,
- // 或是经常使用但不常更改的
- // 特定于项目的包含文件
- //
- #pragma once
- #include "targetver.h"
- // Windows 头文件:
- #define WIN32_LEAN_AND_MEAN // 从 Windows 头文件中排除极少使用的信息
- #define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // 某些 CString 构造函数将是显式的
- #define _AFX_NO_MFC_CONTROLS_IN_DIALOGS // 移除对话框中的 MFC 控件支持
- #ifndef VC_EXTRALEAN
- #define VC_EXTRALEAN // 从 Windows 头文件中排除极少使用的信息
- #endif
- #define _CRT_SECURE_NO_DEPRECATE
- #include <afx.h>
- #include <afxwin.h> // MFC 核心组件和标准组件
- #include <afxext.h> // MFC 扩展
- #ifndef _AFX_NO_OLE_SUPPORT
- #include <afxdtctl.h> // MFC 对 Internet Explorer 4 公共控件的支持
- #endif
- #ifndef _AFX_NO_AFXCMN_SUPPORT
- #include <afxcmn.h> // MFC 对 Windows 公共控件的支持
- #endif // _AFX_NO_AFXCMN_SUPPORT
- // Windows 头文件:
- #include <windows.h>
- #include <iostream>
- #include <string.h>
- #include <vector>
- using namespace std;
- // TODO: 在此处引用程序需要的其他头文件
- //#include "..\common\HW_DataHeader.h"
- #undef ASSERT //启用 mLog.Log 需要添加这个预编译,否则编译不通过
- #include "Log4CPP.Logger.hpp"
- #include "Log4CPP.TLSLog.Tracing.hpp"
- #include "mLog.Log4CPP.hpp"
- #include "CommonData.h"
- #include "CommonMessage.h"
- //#include ".\PDicomInclude\DicomLib.hpp"
- namespace CCOS
- {
- namespace Dev
- {
- class IODriver;
- }
- }
- extern HMODULE hMyModule;
- using tCallPredate = std::function <LRESULT(void *,UINT, WPARAM, LPARAM)>;
|