function GetApplicationPath: string;
stringGetApplicationPath returns the directory of the running executable as used by the PDFium DLL search policy
Use it when diagnostics need to show where LoadPDFiumDll starts searching
AppPath := GetApplicationPath;