stdafx.h 915 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. // stdafx.h : 标准系统包含文件的包含文件,
  2. // 或是经常使用但不常更改的
  3. // 特定于项目的包含文件
  4. //
  5. #pragma once
  6. #include "targetver.h"
  7. #define WIN32_LEAN_AND_MEAN // 从 Windows 头文件中排除极少使用的信息
  8. // Windows 头文件:
  9. #include <windows.h>
  10. #include <string>
  11. #ifndef ASSERT
  12. #include <assert.h>
  13. #define ASSERT assert
  14. #endif
  15. // TODO: 在此处引用程序需要的其他头文件
  16. #include "Log4CPP.Logger.hpp"
  17. //#include "Log4CPP.LoggerName.hpp"
  18. //#include "Log4CPP.ConfigFileName.hpp"
  19. #include "Log4CPP.TLSLog.Tracing.hpp"
  20. #include "mLog.Log4CPP.hpp"
  21. namespace DIOS
  22. {
  23. namespace Dev
  24. {
  25. class IODriver;
  26. }
  27. }
  28. extern HMODULE hMyModule;
  29. extern "C" __declspec(dllexport) DIOS::Dev::IODriver * __cdecl GetIODriver ();
  30. extern "C" __declspec(dllexport) DIOS::Dev::IODriver * __cdecl CreateIODriver();
  31. //extern "C" __declspec(dllexport) int __cdecl GetDeviceManager ();