VDStringW VDGetHelpPath() { return VDMakePath(VDGetProgramPath().c_str(), L"VirtualDub.chm"); }
VDStringW VDFileResolvePath(const wchar_t *basePath, const wchar_t *pathToResolve) { if (VDFileIsRelativePath(pathToResolve)) return VDFileGetCanonicalPath(VDMakePath(basePath, pathToResolve).c_str()); return VDStringW(pathToResolve); }