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