- #pragma once
- #include <windows.h>
- #include <string>
- #include <vector>
- // 工具函数声明
- namespace Utils
- {
- // 字符串转字节数组
- std::vector<BYTE> ConvertHexStringToBytes(const std::string &hex_string);
- std::string ConvertBytesToHexString(const std::vector<BYTE> &bytes);
-
- // 获取当前可执行文件目录
- std::string GetExecutableDirectory();
- }
|