DiosGeneralDefine_V3.h 552 B

1234567891011121314151617
  1. #pragma once
  2. #include <string>
  3. #include <list>
  4. #include <windows.h>
  5. #include "ResDataObject.h"
  6. using std::string;
  7. //获取日志配置路径
  8. string GetProcessDirectory();
  9. //获取配置文件中指定模块的版本号
  10. bool GetVersion(string& version, HMODULE hMyModule);
  11. bool GetVersion(string& version, ResDataObject& config);
  12. bool GetVersion(string& version);
  13. //以指定分隔符截断字符串
  14. void StrSubstrData(const char* strData, char delimiter, std::vector<string>& array);
  15. void StrSubstrData(const char* strData, char delimiter, std::list<string>& array);