コード例 #1
0
ファイル: Converter.c プロジェクト: rodrigocfd/flac-lame-gui
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);
}
コード例 #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;
}