#1 Re: PDF Engine » Delphi6 compiling issue » 2021-06-25 05:00:36

Hi, ab. Thank you for your response.

ab wrote:

My guess is that you have some incompatible/unsynchronized source code units in your compilation path, e.g. an old SynPDF or an old mORMot repository.

As I said , I tried to completely clear the lib path but maybe the old units is stuck in a system folder or somewhere else. I'll check again.

If I want to pursue this:

OR, can someone direct me to the "most D6 compatible" version of SynPDF which also supports encryption

Are there any older distro's available ? Or should I just checkout previous versions from the Github repo ?

Regards

#2 PDF Engine » Delphi6 compiling issue » 2021-06-24 07:54:01

gmbouwer
Replies: 4

Hi

I have a Delphi6 project which uses SynPDF for converting QuickReport to pdf; we now need to add PDF encryption so I'm trying to implement the latest version.

However, I get a compiler error `SynTable.pas(90) Error: Undeclared identifier: 'PtrInt'` when compiling ; interestingly , when I do a full build it works fine.

When using a pre-compiled dcu, I get :
Fatal: Unit SynCrypto was compiled with a different version of SynCommons.PtrInt

I assume it has something to do with conditional defines and/or interference from other *.inc files , but I tried in the most basic setup I can think of and the problem remains.

Hope somebody can assist with this ?
OR, can someone direct me to the "most D6 compatible" version of SynPDF which also supports encryption ?

Much appreciated

Regards

gmb

Board footer

Powered by FluxBB