PDFium Component Docs

FindDllInDllsTree function

Unit: PDFium
Searches DLLs\Win32 or DLLs\Win64 folders below a start path

Syntax

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

Parameters

DllNamestring
StartPathstring
SubDirstring

Return Value

string

Description

FindDllInDllsTree walks upward from StartPath and probes DLLs\SubDir folders for the requested PDFium DLL

It supports application layouts where executables live below the repository or installer output tree

Remarks

Example

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

See Also

FindDllInPath, LoadPDFiumDll, IsWin64