Access violation error when clicking a link

PDF-XChange Editor SDK for Developers

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

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: 31
Joined: Wed Nov 07, 2018 4:41 pm

Access violation error when clicking a link

Post by eagle.zhengyi@gmail.com »

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 81 times
error message
error message
access violation error.png (10.28 KiB) Viewed 2543 times
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Access violation error when clicking a link

Post by Sasha - Tracker Dev Team »

Hello Yi,

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

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
eagle.zhengyi@gmail.com
User
Posts: 31
Joined: Wed Nov 07, 2018 4:41 pm

Re: Access violation error when clicking a link

Post by eagle.zhengyi@gmail.com »

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
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Access violation error when clicking a link

Post by Sasha - Tracker Dev Team »

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
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
eagle.zhengyi@gmail.com
User
Posts: 31
Joined: Wed Nov 07, 2018 4:41 pm

Re: Access violation error when clicking a link

Post by eagle.zhengyi@gmail.com »

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: 31
Joined: Wed Nov 07, 2018 4:41 pm

Re: Access violation error when clicking a link

Post by eagle.zhengyi@gmail.com »

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: 17893
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Access violation error when clicking a link

Post by Tracker Supp-Stefan »

Hello Yi,

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

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

Re: Access violation error when clicking a link

Post by eagle.zhengyi@gmail.com »

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
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Access violation error when clicking a link

Post by Sasha - Tracker Dev Team »

Hello Yi,

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

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
eagle.zhengyi@gmail.com
User
Posts: 31
Joined: Wed Nov 07, 2018 4:41 pm

Re: Access violation error when clicking a link

Post by eagle.zhengyi@gmail.com »

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 60 times
Sasha - Tracker Dev Team
User
Posts: 5522
Joined: Fri Nov 21, 2014 8:27 am
Contact:

Re: Access violation error when clicking a link

Post by Sasha - Tracker Dev Team »

Hello Yi,

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

Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Post Reply