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