function FindDllInDllsTree(const DllName, StartPath, SubDir: string): string;
| DllName | string |
| StartPath | string |
| SubDir | string |
stringFindDllInDllsTree 从 StartPath 向上遍历,并在 DLLs\SubDir 文件夹中探测所请求的 PDFium DLL
它支持可执行文件位于仓库或安装程序输出树下方的应用程序布局
DllPath := FindDllInDllsTree('pdfium.dll', GetApplicationPath, 'Win64');