PDFiumPas 文件

FindDllInPath 函数

单元: PDFium
在单个文件夹中查找指定名称的 PDFium DLL

Syntax

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

Parameters

DllNamestring
SearchPathstring

Return Value

string

Description

FindDllInPath combines SearchPath and DllName and returns the full path when that file exists

It is the single-directory probe used by the higher-level PDFium DLL search helpers

Remarks

Example

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

See Also

FindDllInDllsTree, LoadPDFiumDll, GetApplicationPath