1234567891011121314151617 |
- #pragma once
- #include <string>
- #include <list>
- #include <windows.h>
- #include "ResDataObject.h"
- using std::string;
- //获取日志配置路径
- string GetProcessDirectory();
- //获取配置文件中指定模块的版本号
- bool GetVersion(string& version, HMODULE hMyModule);
- bool GetVersion(string& version, ResDataObject& config);
- bool GetVersion(string& version);
- //以指定分隔符截断字符串
- void StrSubstrData(const char* strData, char delimiter, std::vector<string>& array);
- void StrSubstrData(const char* strData, char delimiter, std::list<string>& array);
|