Last week I've been notified of some problems within our application when viewing pdf files; in detail, only with some files, and only when loading specific pages, the program generates an error "invalid floating point operation".
I've investigated on the error, and the origin of the problem is within a call to PXCV_DrawPageToDC.
The error seemed not to be related to memory leaks or similar problem.
Then I tried to open one of those files with your own demos, and I've found then MS related demos (C/C#/VB) run without problems, while the Delphi one generates the same error as our application.
We have analyzed all the possible cause for this error, but
- the DC seems to be valid, since we can perform any actions on it and see the result, except that we get the error as we call PXCV_DrawPageToDC and pass our DC
- the page is actually loaded, and we get its size via PXCV_GetPageDimensions
- setting different options via .Flags does not solve the problem
I've attached one of those files, which generates the error for page 56
TIA
Error viewing a specific page of a PDF
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- User
- Posts: 4
- Joined: Wed May 22, 2013 2:47 pm
Error viewing a specific page of a PDF
You do not have the required permissions to view the files attached to this post.
-
- Site Admin
- Posts: 19913
- Joined: Mon Jan 12, 2009 8:07 am
Re: Error viewing a specific page of a PDF
Hello rioka,
Thanks for your post. May I ask what is the programming language you use for the development of your own product?
Also can you please confirm that you are using build 212 of the Viewer Simple DLL SDK?
Regards,
Stefan
Thanks for your post. May I ask what is the programming language you use for the development of your own product?
Also can you please confirm that you are using build 212 of the Viewer Simple DLL SDK?
Regards,
Stefan
-
- User
- Posts: 4
- Joined: Wed May 22, 2013 2:47 pm
Re: Error viewing a specific page of a PDF
We're using build 212; one application is developed using Delphi, and another one using a mixed environment with a C wrapper around pxcview.dll.Tracker Supp-Stefan wrote:Hello rioka,
Thanks for your post. May I ask what is the programming language you use for the development of your own product?
Also can you please confirm that you are using build 212 of the Viewer Simple DLL SDK?
-
- Site Admin
- Posts: 19913
- Joined: Mon Jan 12, 2009 8:07 am
Re: Error viewing a specific page of a PDF
Thanks rioka,
We've found the problem and will fix it in the next build.
Regards,
Stefan
We've found the problem and will fix it in the next build.
Regards,
Stefan
-
- User
- Posts: 4
- Joined: Wed May 22, 2013 2:47 pm
Re: Error viewing a specific page of a PDF
Thanks.Tracker Supp-Stefan wrote: We've found the problem and will fix it in the next build.
Any release date for this next build?
-
- Site Admin
- Posts: 6815
- Joined: Mon Oct 15, 2012 9:21 pm
Re: Error viewing a specific page of a PDF
Hi rioka,
Thanks for the post - I'm afraid that we don't have any ETA on the next release.
Cheers,
Thanks for the post - I'm afraid that we don't have any ETA on the next release.
Cheers,
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.
Best regards
Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com
Thank you.
Best regards
Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com