Access violation error when clicking a link

PDF-XChange Editor SDK for Developers

Moderators: Tracker Support, TrackerSupp-Daniel, Paul - Tracker Supp, Chris - Tracker Supp, Vasyl-Tracker Dev Team, Sean - Tracker, Tracker Supp-Stefan, Ivan - Tracker Software

Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.

When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
Post Reply
eagle.zhengyi@gmail.com
User
Posts: 19
Joined: Wed Nov 07, 2018 4:41 pm

Access violation error when clicking a link

Post by eagle.zhengyi@gmail.com » Mon Nov 12, 2018 4:40 pm

Hi,
An access violation error occurred when clicking a link using the sample attached when debugging it in Delphi.
Here are the steps to repeat the issue,
1. Open the file "m5\52-tab-list\tabular-listing.pdf"
2. Click the first link "study-report-111.pdf"

Thanks.
Yi
Attachments
m5.zip
the sample to repeat the error
(8.97 KiB) Downloaded 27 times
access violation error.png
error message
access violation error.png (10.28 KiB) Viewed 812 times

User avatar
Sasha - Tracker Dev Team
User
Posts: 4089
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Access violation error when clicking a link

Post by Sasha - Tracker Dev Team » Tue Nov 13, 2018 8:23 am

Hello Yi,

Please give us a working sample project that we can debug and recreate your behavior.

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

eagle.zhengyi@gmail.com
User
Posts: 19
Joined: Wed Nov 07, 2018 4:41 pm

Re: Access violation error when clicking a link

Post by eagle.zhengyi@gmail.com » Tue Nov 13, 2018 4:26 pm

Hi Alex,

Thanks for the reply.

I was using the sample project downloaded from your Github repository as below.
https://github.com/tracker-software/PDF ... plePDFEdit

And the compiler is Delphi 10.2.3.

Thanks.
Yi

User avatar
Sasha - Tracker Dev Team
User
Posts: 4089
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Access violation error when clicking a link

Post by Sasha - Tracker Dev Team » Wed Nov 14, 2018 11:58 am

Hello Yi,

We've tried doing the same behavior as you have done on the clean demo sample - we could not recreate that behavior.
Please make sure that you have tried that on the clean sample project and also that you have the latest dll available.

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

eagle.zhengyi@gmail.com
User
Posts: 19
Joined: Wed Nov 07, 2018 4:41 pm

Re: Access violation error when clicking a link

Post by eagle.zhengyi@gmail.com » Fri Nov 30, 2018 4:29 pm

Hi Alex,

I downloaded the latest Editor SDK which includes the latest DLL files. Unfortunately, I'm still experiencing the access violation error when clicked on a link.

Any advice?

Thanks.
Yi

eagle.zhengyi@gmail.com
User
Posts: 19
Joined: Wed Nov 07, 2018 4:41 pm

Re: Access violation error when clicking a link

Post by eagle.zhengyi@gmail.com » Fri Nov 30, 2018 8:20 pm

Hi Alex,

This access violation error only happens in the Debug mode when running a demo project in Delphi 10.2.3.

Thanks.
Yi

User avatar
Tracker Supp-Stefan
Site Admin
Posts: 13376
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Access violation error when clicking a link

Post by Tracker Supp-Stefan » Thu Dec 06, 2018 11:45 am

Hello Yi,

Did you manage to figure out why were those errors happening?

Regards,
Stefan

eagle.zhengyi@gmail.com
User
Posts: 19
Joined: Wed Nov 07, 2018 4:41 pm

Re: Access violation error when clicking a link

Post by eagle.zhengyi@gmail.com » Fri Dec 14, 2018 6:45 pm

Hi Stefan,
Unfortunately, I cannot resolve the access violation error in Debugging mode when clicked on a link in a PDF document.
Could you please provide any solution for this?

Thanks.
Yi

User avatar
Sasha - Tracker Dev Team
User
Posts: 4089
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Access violation error when clicking a link

Post by Sasha - Tracker Dev Team » Tue Dec 18, 2018 7:08 am

Hello Yi,

Sadly, we cannot provide a solution to the problem that we can't recreate.

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

eagle.zhengyi@gmail.com
User
Posts: 19
Joined: Wed Nov 07, 2018 4:41 pm

Re: Access violation error when clicking a link

Post by eagle.zhengyi@gmail.com » Wed Jun 12, 2019 10:31 pm

Hi,

I tried both Delphi 10.3.1 Rio and Delphi 10.2.3 Tokoyo and the access violation error still exists in Debugging mode. To reproduce the error just as follows,
  • Launch Delphi IDE and create a new VCL Form Application
  • Open the project "C:\Program Files (x86)\Tracker Software\Editor SDK\Samples\Delphi\SamplePDFEdit" which is the default installation path
  • Press F9 key to start Debugging
  • Load the PDF file "\m5\52-tab-list\tabular-listing.pdf" using the menu
  • You will see two links in a red rectangle
  • Click on any link
  • The error occurs
Please find the PDF files attached.

Please advise.

Thanks.

Yi
Attachments
m5.zip
(53.65 KiB) Downloaded 9 times

User avatar
Sasha - Tracker Dev Team
User
Posts: 4089
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Access violation error when clicking a link

Post by Sasha - Tracker Dev Team » Tue Jun 18, 2019 8:50 am

Hello Yi,

I've forwarded this to the appropriate developer - he'll take a look at it when he has time.

Cheers,
Alex
Join us at Google+:
https://plus.google.com/+PDFXChangeEditorTS
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ

Post Reply