Page 1 of 1

[patch_done] Patch for Delphi XE compatibility

Posted: 08.09.2010, 15:21
by cariad
Hello,

Here's a little patch (against trunk ver800) to support Delphi XE. The components aren't converted but the modest test suite we use in-house runs without problem.

Posted: 08.09.2010, 21:47
by mdaems
This one is harmless for Delphi versions before XE, so I did commit.
SVN Rev 812

Mark

Posted: 13.09.2010, 04:24
by sir.wally.lewis
How do I get this version of ZeosLib?

Posted: 13.09.2010, 06:42
by sir.wally.lewis
After much stuffing around i found out that using subversion i can get this version at svn://zeos.firmos.at/zeos/branches/testing it also compiles under Delphi XE! We should be using Delphi15 for DelphiXE and not modifying Delphi14

Posted: 19.09.2010, 21:42
by mdaems
sir.wally.lewis,

I fully agree. Now it's up to some XE user to provide de new packages.
The patch above is just making the changes to the real code and should be done anyway.

Mark

Posted: 28.09.2010, 02:12
by sir.wally.lewis
Hi Mark,
We will be purchasing Delphi XE this week.
What can I do to get these changes into the main branch of zeoslib?

Posted: 11.10.2010, 02:15
by joanmvf
Im trying to compile on delphi XE but im getting 3 error like this one....

[DCC Error] ZSysUtils.pas(454): E2010 Incompatible types: 'PAnsiChar' and 'PWideChar'

Posted: 12.10.2010, 10:39
by Marius2
joanmvf wrote:Im trying to compile on delphi XE but im getting 3 error like this one....

[DCC Error] ZSysUtils.pas(454): E2010 Incompatible types: 'PAnsiChar' and 'PWideChar'
Check the zeos.inc and look for "{$IFDEF VER220}". If its not there a lot of ifdefs go wrong during compilation. Copying the delphi 2010 210 and adjusting it a bit solves a lot of these compiler issues. i think you can also find some patches for it (not sure if its already in svn)

Posted: 07.11.2011, 08:29
by merovingio
I add at file Zeos.inc, is Rigth?.

// Compilation directives for Delphi XE2
{$IFDEF VER230}
{$DEFINE VER220BELOW}
{$DEFINE DELPHI14}
{$DEFINE DELPHI9_UP}
{$DEFINE DELPHI10_UP}
{$DEFINE DELPHI12_UP}
{$DEFINE DELPHI14_UP}
{$DEFINE DELPHI15_UP}
{$DEFINE BDS}
{$DEFINE BDS7}
{$DEFINE BDS4_UP}
{$DEFINE BDS5_UP}
{$DEFINE BDS7_UP}
{$ENDIF}

Posted: 07.11.2011, 11:36
by bernhard
my inc file part


// Compilation directives for Delphi XE2
{$IFDEF VER230}
{$DEFINE VER200BELOW}
{$DEFINE DELPHI14}
{$DEFINE DELPHI9_UP}
{$DEFINE DELPHI10_UP}
{$DEFINE DELPHI12_UP}
{$DEFINE DELPHI14_UP}
{$DEFINE DELPHI15_UP}
{$DEFINE DELPHI16_UP}
{$DEFINE BDS}
{$DEFINE BDS7}
{$DEFINE BDS8} // EDS8 ?
{$DEFINE BDS4_UP}
{$DEFINE BDS5_UP}
{$DEFINE BDS7_UP}
{$DEFINE BDS8_UP}
{$ENDIF}