function FindDllInPath(const DllName, SearchPath: string): string;
| DllName | string |
| SearchPath | string |
stringFindDllInPath combina SearchPath e DllName e retorna o caminho completo quando esse arquivo existe
Ele é a sonda de diretório único usada pelos auxiliares de busca de DLL PDFium de nível superior
DllPath := FindDllInPath('pdfium.dll', GetApplicationPath);