#pragma once #include #include std::wstring Format(const wchar_t* fmt, ...); std::wstring GetExeDir(); std::wstring GetExeFileName(); std::wstring GetWindowsDir(); std::wstring GetTempDir(); bool FileExists(const std::wstring& path); bool DirectoryExists(const std::wstring& path); bool ExtractResourceToFile(HINSTANCE instance, int resourceId, const wchar_t* type, const std::wstring& path); int RunWait(const std::wstring& commandLine, bool hidden = false); void PumpMessages(); COLORREF ColorFromHex(DWORD rgb); void DebugLog(const wchar_t* fmt, ...);