Resolves a relative file path
| 116 | |
| 117 | // Resolves a relative file path |
| 118 | std::string ResolveFilePath(const char* filePath) |
| 119 | { |
| 120 | char resolvedPath[MAX_PATH] = { }; |
| 121 | GetFullPathNameA(filePath, ArraySize_(resolvedPath), resolvedPath, nullptr); |
| 122 | return std::string(resolvedPath); |
| 123 | } |
| 124 | |
| 125 | // Resolves a relative file path |
| 126 | std::wstring ResolveFilePath(const wchar* filePath) |