#1 2012-11-28 10:42:42

Dicki
Member
Registered: 2012-11-28
Posts: 7

Install SynPDF into XE2 (32bit)

Hello everyone,

I can not compiled under Delphi XE2.

The Error-Message is:

DCC Fehler] SynCommons.pas(49): E1025 Sprach-Feature wird nicht unterstützt: 'Object'

Thank you for help

Offline

#2 2012-11-28 13:49:29

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,207
Website

Re: Install SynPDF into XE2 (32bit)

Which version are you using?

Get the latest stable 1.17 version included in mORMot, from http://synopse.info/fossil/wiki?name=SQLite3+Framework or from http://synopse.info/fossil/wiki?name=Get+the+source to get the unstable but MUCH improved 1.18 upcoming version.

It compiles just fine with Delphi XE2 and XE3.
From Delphi 5 up to XE3, in fact.

Offline

#3 2012-11-28 16:56:57

Dicki
Member
Registered: 2012-11-28
Posts: 7

Re: Install SynPDF into XE2 (32bit)

Thanks for the link.
with these files I have this error message in the Unit "SynCommons.pas".
E.G. Line in 2555 with the message: E1025 language feature is not supported: 'Object'
and Lines 2928, 3094, 3628, 3782, 3808, 3889, 3978, 6612, 6613, 3288

Offline

#4 2012-11-28 18:09:23

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,207
Website

Re: Install SynPDF into XE2 (32bit)

I just compiled it with Delphi XE2 on my computer, with no error message.

Is it Delphi XE2 compiler, not C++ Builder compiler?
Is there something special with your project settings?

Offline

#5 2012-11-28 18:23:23

Dicki
Member
Registered: 2012-11-28
Posts: 7

Re: Install SynPDF into XE2 (32bit)

It is a Delphi-Componet of myself (dsPrintView)

Offline

#6 2012-11-28 18:44:26

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,207
Website

Re: Install SynPDF into XE2 (32bit)

Just create a blank project, or open the "SQLite3\Samples\05 - Report created from code" sample provided with mORMot, and try to compile it with Delphi XE2.

Perhaps there is some special/custom compiler options which fails to compile the unit code.
"object" is deprecated, but can still be used in XE2.

Offline

Board footer

Powered by FluxBB