PDFium Delphi Component 文件

FindDllInDllsTree 函数

单元: PDFium
在起始路径下方的 DLLs\Win32 或 DLLs\Win64 文件夹中搜索

Syntax

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

Parameters

DllNamestring
StartPathstring
SubDirstring

Return Value

string

Description

FindDllInDllsTree 从 StartPath 向上遍历,并在 DLLs\SubDir 文件夹中探测所请求的 PDFium DLL

它支持可执行文件位于仓库或安装程序输出树下方的应用程序布局

Remarks

Example

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

See Also

FindDllInPath, LoadPDFiumDll, IsWin64