// stdafx.h : 标准系统包含文件的包含文件, // 或是经常使用但不常更改的 // 特定于项目的包含文件 // #pragma once #include "targetver.h" // 关闭 MFC 对某些常见但经常被安全忽略的警告消息的隐藏 #define _AFX_ALL_WARNINGS #include // MFC 核心和标准组件 //#include // MFC 扩展 //#include // MFC 自动化类 // //#include // Internet Explorer 4 公共控件的 MFC 支持 //#ifndef _AFX_NO_AFXCMN_SUPPORT //#include // Windows 公共控件的 MFC 支持 //#endif // _AFX_NO_AFXCMN_SUPPORT #define WIN32_LEAN_AND_MEAN // 从 Windows 头文件中排除极少使用的信息 // Windows 头文件: #include // TODO: 在此处引用程序需要的其他头文件 #include "Log4CPP.Logger.hpp" #include "Log4CPP.TLSLog.Tracing.hpp" #include "mLog.Log4CPP.hpp" namespace CCOS { namespace Dev { class IODriver; } } extern HMODULE hMyModule; using tCallPredate = std::function ; extern "C" __declspec(dllexport) CCOS::Dev::IODriver * __cdecl GetIODriver (); extern "C" __declspec(dllexport) CCOS::Dev::IODriver * __cdecl CreateIODriver(); //extern "C" __declspec(dllexport) int __cdecl GetDeviceManager ();