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