stdafx.h 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. // stdafx.h : include file for standard system include files,
  2. // or project specific include files that are used frequently, but
  3. // are changed infrequently
  4. //
  5. #pragma once
  6. #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
  7. #define _CRT_SECURE_NO_WARNINGS
  8. #define DLL_SOUI
  9. #include <souistd.h>
  10. #include <core/SHostDialog.h>
  11. #include <control/SMessageBox.h>
  12. #include <control/souictrls.h>
  13. #include <res.mgr/sobjdefattr.h>
  14. #include <com-cfg.h>
  15. #include "resource.h"
  16. #define R_IN_CPP //定义这个开关来
  17. #include "res\resource.h"
  18. using namespace SOUI;
  19. #include "SShellNotifyIcon.h"
  20. #include <event/NotifyCenter.h>
  21. #include <helper/SCriticalSection.h>
  22. #include <interface/STaskLoop-i.h>
  23. #include <helper/SFunctor.hpp>
  24. #include "../__INCLUDE/SVscrollbar.h"
  25. #include "../__INCLUDE/AsynFunctionT.hpp"
  26. #include <windows.h>
  27. #include <iostream>
  28. #include <vector>
  29. #include <iterator>
  30. #include <filesystem>
  31. #include <algorithm>
  32. #include <wil/wrl.h>
  33. #include <wil/result_macros.h>
  34. #include <Shobjidl.h>
  35. #include <Shlobj.h>
  36. #include <conio.h>
  37. #pragma comment(lib, "Shell32.lib")
  38. #include "comm.h"
  39. #include "Util.hpp"
  40. #include "ProcessManager.hpp"
  41. #include "PortableModeUtil.hpp"
  42. //#include "../__INCLUDE/BaseModule.h"
  43. //
  44. //#ifdef _DEBUG
  45. //#ifdef _WIN64
  46. //#pragma comment(lib,"..\\__LIB\\x64\\Debug\\Base.lib")
  47. //#else
  48. //#pragma comment(lib,"..\\__LIB\\Debug\\Base.lib")
  49. //#endif
  50. //#else
  51. //
  52. //#ifdef _WIN64
  53. //#pragma comment(lib,"..\\__LIB\\x64\\Release\\Base.lib")
  54. //#else
  55. //#pragma comment(lib,"..\\__LIB\\Release\\Base.lib")
  56. //#endif
  57. //
  58. //
  59. //#endif