You are not logged in.
I've downloaded the SynPDF.zip and extracted the files to SynopsePDF directory I created. I added this directory to my Library and Browsing Path in my Delphi IDE (Delphi 5 at this moment).
As a test, I create a new project, put SynPDF in my Uses clause and hit the Run button.
It stops while trying to compile the SynCommons.pas file, at the line: tkVariant: ItemType := ptVariant;
The error message is: [Error] SynCommons.pas(25717): Undeclared identifier 'ptVariant'
This is my very first try with SynPDF, so I am a bit of a loss as to how to fix this. What do I do next? Thanks.
Offline
Your version of the source code seems old.
This has been fixed.
In the current version, the line is surrounded by the following conditional:
{$ifndef NOVARIANTS}
...
{$endif}
Try to download the units from the latest nightly build.
Note that we have currently an issue when building SynCommons in Delphi 5.
No problem with Delphi 6 and up, but we have a C1141 internal error with the current version.
Offline
Thanks for the help.
It's compiled and working.
I've tried some of the demos in this forum and so far, no internal errors on Delphi 5.
Offline