bblanchon / pdfium-binaries

📰 Binary distribution of PDFium
897 stars 191 forks source link

Floating point exception #102

Open kjteng opened 1 year ago

kjteng commented 1 year ago

I am using pdfium.dll and the pascal port of pdfiumcontrl.pas component The component works well with the origianl pdfium.dll (date 2017-3-27). However, when I try to use it with a later version of dll (eg PDFium 113.0.5619.0), it crashes with the following error message whenevever I call loadfromFile('xxx.pdf') (even if the pdf is a blank file): External: FLT INEXACT RESULT As a work around, I have to mask the floating point exception (using SetExceptionMask([ exPrecision, ..... ]) to overcome this issue.

May I know what can I do so that I don't have to mask the exception ?

bblanchon commented 1 year ago

Hi,

I'm afraid I can't help you. Did you contact the author of the Pascal port?

Best regards, Benoit