Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Floating point exception #102

Open
kjteng opened this issue Mar 2, 2023 · 1 comment
Open

Floating point exception #102

kjteng opened this issue Mar 2, 2023 · 1 comment
Labels

Comments

@kjteng
Copy link

kjteng commented Mar 2, 2023

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
Copy link
Owner

Hi,

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

Best regards,
Benoit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants