PDFium Delphi Component Docs

FindDllInPath 函式

單元: PDFium
在單一資料夾中尋找指定名稱的 PDFium DLL

語法

function FindDllInPath(const DllName, SearchPath: string): string;

參數

DllNamestring
SearchPathstring

傳回值

string

說明

FindDllInPath 會組合 SearchPath 與 DllName,並在該檔案存在時傳回完整路徑

它是高階 PDFium DLL 搜尋輔助函式所使用的單一資料夾探查

備註

範例

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

另請參閱

FindDllInDllsTree, LoadPDFiumDll, GetApplicationPath