Hi,
I'm using the latest version 14.2.7 and received feedback from a customer that my tool crashes regurlarly. He uses my tool to adjust pdf parameters and it seems to happen when loading the pdf file.
Log information from my tool when the problem starts:
2025-11-20 10:50:22 OutputIMG, Load Image from R:\ttlev\in\sudoko_scale\2-easy_sol.pdf error, FileType: Adobe PDF (PDF)
I'm using the following code:
// Load IMG file
tmpIEBmp := TIEBitmap.Create;
tmpEnIO := TImageEnIO.CreateFromBitmap(tmpIEBmp);
Try
// https://www.imageen.com/help/index.php?topic=TIOParams.IPTC_Info&m=11
// Load From File
Try
// Init FileType
tmpInputfType := 'Unknown';
// Do LoadFromFile
tmpEnIO.LoadFromFile(tmpInputf, True);
tmpInputfType := tmpEnIO.Params.FileTypeStr;
// Check FileType
If Trim(tmpInputfType) = '' Then
tmpInputfType := 'Unknown';
// Aborting can also be read after loading or saving to determine if an error or abort occured
If Not tmpEnIO.Aborting Then
Begin
// Debug
tmpInfo := Format('OutputIMG, Load Image from %s successful, FileType: %s', [tmpInputf, tmpInputfType]);
UpdateLogging(0, IdLogLevInf, DefLogIMGPut, tmpInfo);
End
Else
Begin
tmpSuccess := False;
// check
tmpOSError := Winapi.Windows.GetLastError;
// Debug
If tmpOSError = 0 Then
tmpInfo := Format('OutputIMG, Load Image from %s error, FileType: %s', [tmpInputf, tmpInputfType])
Else
tmpInfo := Format('OutputIMG, Load Image from %s error: %s, FileType: %s', [tmpInputf, SysErrorMessage(tmpOSError), tmpInputfType]);
UpdateLogging(0, IdLogLevErr, DefLogIMGPut, tmpInfo);
End;
Except
On e: Exception Do
Begin
tmpSuccess := False;
// Debug
tmpInfo := Format('OutputIMG, Load Image from %s exception: %s', [tmpInputf, Trim(e.Message)]);
UpdateLogging(0, IdLogLevErr, DefLogIMGPut, tmpInfo);
End;
End;
It seems to happen in the iepdf64.dll

Any idea what I'm doing wrong?
Regards,
Pascal