#1 Re: PDF Engine » Compile problem: Stuck on 'ptVariant' in SynCommons.pas » 2015-01-29 15:57:42

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.

#2 PDF Engine » Compile problem: Stuck on 'ptVariant' in SynCommons.pas » 2015-01-27 16:38:17

BrandF
Replies: 3

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.

Board footer

Powered by FluxBB