function FindDllInPath(const DllName, SearchPath: string): string;
| DllName | string |
| SearchPath | string |
stringFindDllInPath kombinerer SearchPath og DllName og returnerer den fulle stien når den filen finnes
Det er den enkeltkatalog-undersøkelsen som brukes av PDFiums DLL-søkehjelpere på høyere nivå
DllPath := FindDllInPath('pdfium.dll', GetApplicationPath);