PDFium Delphi Component Docs

FindDllInDllsTree 関数

ユニット: PDFium
開始パス以下の DLLs\Win32 または DLLs\Win64 フォルダーを検索します

構文

function FindDllInDllsTree(const DllName, StartPath, SubDir: string): string;

パラメーター

DllNamestring
StartPathstring
SubDirstring

戻り値

string

説明

FindDllInDllsTree は StartPath から親ディレクトリを上へ辿りながら、DLLs\SubDir フォルダーに指定の PDFium DLL がないかを順に調べます

実行ファイルがリポジトリやインストーラー出力ツリーの下に置かれるアプリ構成にも対応しています

備考

例

DllPath := FindDllInDllsTree('pdfium.dll', GetApplicationPath, 'Win64');

関連項目

FindDllInPath, LoadPDFiumDll, IsWin64