Esempio n. 1
0
void Converter_GetFlacPath(wchar_t *buf, int bufsz)
{
    wchar_t ini[MAX_PATH];
    exeDir(ini, ARRAYSIZE(ini));
    lstrcat(ini, L"FlacLameGui.ini");
    readIni(ini, L"Tools", L"flac", buf, bufsz);
}
Esempio n. 2
0
static bool TryLoadMemTrace()
{
    ScopedMem<TCHAR> exePath(GetExePath());
    ScopedMem<TCHAR> exeDir(path::GetDir(exePath));
    ScopedMem<TCHAR> dllPath(path::Join(exeDir, _T("memtrace.dll")));
    if (!LoadLibrary(dllPath))
        return false;
    return true;
}