Hello!
I´m a Delphi Seattle/Delphi 10 developer. I have PDF-XChange 2012 SDK PRO version 5.5.316.1. When I build my application as 64-bit
I´m getting an access violation when calling PXCp_WriteDocumentW. When I build my application as a 32-bit, everything goes well.
What´s wrong?
I´m using the dll´s from Tracker Software\PDF-XChange PRO 5 SDK\Examples\Bin.x64 which I suppose is the one´s to use for a 64-bit application?
Best regards
Helena
PXCp_WriteDocumentW in Delphi Seattle 32 bit vs 64 bit
Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan
-
- User
- Posts: 20
- Joined: Wed Feb 24, 2010 11:40 am
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
Re: PXCp_WriteDocumentW in Delphi Seattle 32 bit vs 64 bit
Hello Helena,
Probably you're experiencing the same problem as described in this topic:
https://forum.pdf-xchange.com/ ... 59&p=98969
If not, please provide us with a working code sample that we can try and fix the problem.
Cheers,
Alex
Probably you're experiencing the same problem as described in this topic:
https://forum.pdf-xchange.com/ ... 59&p=98969
If not, please provide us with a working code sample that we can try and fix the problem.
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
-
- User
- Posts: 1
- Joined: Tue Aug 29, 2017 8:45 am
Re: PXCp_WriteDocumentW in Delphi Seattle 32 bit vs 64 bit
Hi,
I had the same problem with 64-bit version of PDF-Tools. The Delphi-code has the same problem as the .Net-declarations. The type for HPDF in PXC_40_Types.pas is wrong for 64-bit:
Type
HPDF = Cardinal;
For me changing to:
Type
HPDF = Pointer;
solved the problem
Regards
Kurt
I had the same problem with 64-bit version of PDF-Tools. The Delphi-code has the same problem as the .Net-declarations. The type for HPDF in PXC_40_Types.pas is wrong for 64-bit:
Type
HPDF = Cardinal;
For me changing to:
Type
HPDF = Pointer;
solved the problem
Regards
Kurt