Zeos on XE2?

The alpha/beta tester's forum for ZeosLib 7.0.x series

Report problems concerning our Delphi 2009+ version and new Zeoslib 7.0 features here.

This is a forum that will be removed once the 7.X version goes into stable!!

Moderators: gto, EgonHugeist, olehs

mparak
Senior Boarder
Senior Boarder
Posts: 81
Joined: 12.09.2005, 06:51
Location: Durban South Africa
Contact:

Post by mparak »

You are a star! Thanks.
I downloaded the pdf and will give it a try today.
Mohammed Parak
CAD RETAIL
Durban South Africa
http://www.cad.co.za
madi.patub
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 12.12.2011, 09:46
Contact:

Post by madi.patub »

i've tested on delphi xe2

there is some error when compiling..

[DCC Warning] MemCheck.pas(417): W1000 Symbol 'THeapStatus' is deprecated
[DCC Warning] MemCheck.pas(417): W1000 Symbol 'THeapStatus' is deprecated
[DCC Warning] MemCheck.pas(422): W1000 Symbol 'TMemoryManager' is deprecated: 'Use TMemoryManagerEx'
[DCC Warning] MemCheck.pas(422): W1000 Symbol 'TMemoryManager' is deprecated: 'Use TMemoryManagerEx'
[DCC Warning] MemCheck.pas(518): W1000 Symbol 'GetHeapStatus' is deprecated
[DCC Warning] MemCheck.pas(518): W1002 Symbol 'GetHeapStatus' is specific to a platform
[DCC Warning] MemCheck.pas(521): W1000 Symbol 'THeapStatus' is deprecated
[DCC Warning] MemCheck.pas(521): W1000 Symbol 'THeapStatus' is deprecated
[DCC Warning] MemCheck.pas(1004): W1057 Implicit string cast from 'ShortString' to 'string'
[DCC Warning] MemCheck.pas(1176): W1000 Symbol 'AllocMemSize' is deprecated
[DCC Warning] MemCheck.pas(1180): W1000 Symbol 'AllocMemSize' is deprecated
[DCC Warning] MemCheck.pas(1181): W1000 Symbol 'AllocMemSize' is deprecated
[DCC Warning] MemCheck.pas(1190): W1000 Symbol 'GetHeapStatus' is deprecated
[DCC Warning] MemCheck.pas(1190): W1002 Symbol 'GetHeapStatus' is specific to a platform
[DCC Warning] MemCheck.pas(1401): W1000 Symbol 'GetHeapStatus' is deprecated
[DCC Warning] MemCheck.pas(1401): W1002 Symbol 'GetHeapStatus' is specific to a platform
[DCC Warning] MemCheck.pas(1433): W1000 Symbol 'GetHeapStatus' is deprecated
[DCC Warning] MemCheck.pas(1433): W1002 Symbol 'GetHeapStatus' is specific to a platform
[DCC Warning] MemCheck.pas(1443): W1000 Symbol 'SetMemoryManager' is deprecated
[DCC Warning] MemCheck.pas(1483): W1058 Implicit string cast with potential data loss from 'string' to 'ShortString'
[DCC Warning] MemCheck.pas(1492): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Warning] MemCheck.pas(1501): W1057 Implicit string cast from 'AnsiString' to 'string'
[DCC Warning] MemCheck.pas(1546): W1000 Symbol 'AllocMemSize' is deprecated
[DCC Error] MemCheck.pas(1575): E2033 Types of actual and formal var parameters must be identical
[DCC Warning] MemCheck.pas(1987): W1000 Symbol 'GetMemoryManager' is deprecated
[DCC Warning] MemCheck.pas(2380): W1044 Suspicious typecast of string to PAnsiChar
[DCC Warning] MemCheck.pas(2411): W1000 Symbol 'TMemoryManager' is deprecated: 'Use TMemoryManagerEx'
[DCC Error] MemCheck.pas(2412): E2010 Incompatible types: 'NativeInt' and 'Integer'
[DCC Error] MemCheck.pas(2414): E2010 Incompatible types: 'NativeInt' and 'Integer'
[DCC Warning] MemCheck.pas(2416): W1000 Symbol 'TMemoryManager' is deprecated: 'Use TMemoryManagerEx'
[DCC Error] MemCheck.pas(2417): E2010 Incompatible types: 'NativeInt' and 'Integer'
[DCC Error] MemCheck.pas(2419): E2010 Incompatible types: 'NativeInt' and 'Integer'
[DCC Warning] MemCheck.pas(2429): W1000 Symbol 'SetMemoryManager' is deprecated
[DCC Warning] MemCheck.pas(2433): W1000 Symbol 'SetMemoryManager' is deprecated
[DCC Error] MemCheck.pas(2488): E2003 Undeclared identifier: 'PImageOptionalHeader'
[DCC Warning] MemCheck.pas(2494): W1024 Combining signed and unsigned types - widened both operands
[DCC Error] MemCheck.pas(2494): E2066 Missing operator or semicolon
[DCC Fatal Error] ZTestFramework.dpk(56): F2063 Could not compile used unit 'MemCheck.pas'
flagada
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 21.12.2011, 17:17

Post by flagada »

Hello every one,

Bernhard, thank you for your tutorial "Installing ZEOS Version 7.X.X on Delphi XE 2".
I'm trying to install ZEOS (SVN revision 962) with my new Delphi XE2 (32bit) and receive this message when building the Zcomponent.dpk
[DCC Fatal Error] ZAbstractConnection.pas(64): F1026 File not found: 'ZDbcAdo.dcu'
Could it be that some units are not loaded in the ZDbc160.bpl ??

Have you faced this problem ? Have you any idea from where it could come ?

Thanks and regards,

Flagada
madi.patub
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 12.12.2011, 09:46
Contact:

Post by madi.patub »

flagada wrote:Hello every one,

Bernhard, thank you for your tutorial "Installing ZEOS Version 7.X.X on Delphi XE 2".
I'm trying to install ZEOS (SVN revision 962) with my new Delphi XE2 (32bit) and receive this message when building the Zcomponent.dpk
[DCC Fatal Error] ZAbstractConnection.pas(64): F1026 File not found: 'ZDbcAdo.dcu'
Could it be that some units are not loaded in the ZDbc160.bpl ??

Have you faced this problem ? Have you any idea from where it could come ?

Thanks and regards,

Flagada
u should not install C++
mparak
Senior Boarder
Senior Boarder
Posts: 81
Joined: 12.09.2005, 06:51
Location: Durban South Africa
Contact:

Post by mparak »

Hi Guys,
Earlier on Bernard sent this link.

http://www.delphipraxis.net/164241-de ... ion.html

Follow it to the German site, Use Google translate and log in. Get the PDF and it will explain everything.
Its all good and it works.
M
Mohammed Parak
CAD RETAIL
Durban South Africa
http://www.cad.co.za
flagada
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 21.12.2011, 17:17

Post by flagada »

Hi guys,
Thanks for your responses.
May be I was not clear about my problem of installation of the zeos.
I downloaded Bernhardt PDF and followed it step by step.
I import the delphi16 package with the no backup option and start the build.
When Delphi build the zcomponent.dpk, I receive the message
ZAbstractConnection.pas(64): F1026 File not found: 'ZDbcAdo.dcu' .
My version of Delphi is XE2 update 3 and the zeos svn revision 962.
Any suggestion is welcome.
Thanks
vajtsz
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 05.01.2012, 12:59

Post by vajtsz »

flagada wrote:Hi guys,
Thanks for your responses.
May be I was not clear about my problem of installation of the zeos.
I downloaded Bernhardt PDF and followed it step by step.
I import the delphi16 package with the no backup option and start the build.
When Delphi build the zcomponent.dpk, I receive the message
ZAbstractConnection.pas(64): F1026 File not found: 'ZDbcAdo.dcu' .
My version of Delphi is XE2 update 3 and the zeos svn revision 962.
Any suggestion is welcome.
Thanks
-- sorry for my english :( ...

I have the same error, and I followed the instructions what he wrote in the PDF.
I download the 966 version from SVN.

First when I open the projects I see the {ENDIF} error in Zcomponent.dpk, but I check the code in SVN tree, there in the dpk file was

Code: Select all

  {$IFDEF ENABLE_INTERBASE}, ZIBEventAlerter in '..\..\src\component\ZIBEventAlerter.pas' {$ENDIF}
  {$IFDEF ENABLE_POSTGRESQL}, ZPgEventAlerter in '..\..\src\component\ZPgEventAlerter.pas' {$ENDIF};
Delphi project version conversion procedure remove/modify some text ? (in delphi I see only ... {ENDIF} )

Then I overwrite all dpk file from svn again, and compile all. Then the ENDIF error disappeared. (and the Zdbcado error too)

But then I got an other error about missing "ZIBEventAlerter" then I modify Zcomponent.dpk last 2 lines like this ( I remove the endif directives.. I don't know that what problem coused this !)

Code: Select all

  ZIBEventAlerter in '..\..\src\component\ZIBEventAlerter.pas',
  ZPgEventAlerter in '..\..\src\component\ZPgEventAlerter.pas';
Finally I can build the component, then I copy the bpl files to windows/system32, and it works.

But I hope some more skilled coders fix that problem in svn, maybe the problem is in delphi convert project or DEFINE parameters ?
marcosnt
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: 09.01.2012, 03:48

Post by marcosnt »

Good evening, I'm having difficulty installing the Zcomponent160 not build. Featuring the following errors:

[DCC Error] ZDbcAdoResultSet.pas (191): E2064 Left side can not be assigned to
[DCC Error] ZDbcAdoResultSet.pas (233): E2064 Left side can not be assigned to
[DCC Warning] ZDbcAdoResultSet.pas (371): W1058 Implicit string cast with potential data loss from 'OleVariant' to 'AnsiString'
[DCC Warning] ZDbcAdoResultSet.pas (688): W1058 Implicit string cast with potential data loss from 'variant' to 'AnsiString'
[DCC Fatal Error] ZDbcAdoStatement.pas (542): F2063 Could not compile used unit 'ZDbcAdoResultSet.pas'
Failed
Elapsed time: 00:00:00.6

To be able to build in other dpk, I changed the ComObj System.Win.ComObj and also needed to remove the {$ENDIF} in ZComponent.dpk, but it for the above error, the code of this point is this:

Inc (Integer (prgInfo), sizeof (TDBColumnInfo));

Can anyone help me? My Version is 966.
fperezpt
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: 15.01.2012, 20:26
Location: Spain
Contact:

Post by fperezpt »

Hello,

here another tutorial with the last SVN Zeoslib version and Delphi XE2. I have tested it today and it runs.

http://www.ebys.es/en/84-technological/ ... 2bits.html

Kind regards.
seawolf
Zeos Dev Team *
Zeos Dev Team *
Posts: 385
Joined: 04.06.2008, 19:50
Contact:

Post by seawolf »

I've checked the problem described on the tutorial and I commit the change.
The error was introduced on the XE package, but no one noted it.
han77s
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: 23.01.2012, 11:49

Post by han77s »

flagada wrote:Hello every one,

Bernhard, thank you for your tutorial "Installing ZEOS Version 7.X.X on Delphi XE 2".
I'm trying to install ZEOS (SVN revision 962) with my new Delphi XE2 (32bit) and receive this message when building the Zcomponent.dpk
[DCC Fatal Error] ZAbstractConnection.pas(64): F1026 File not found: 'ZDbcAdo.dcu'
Could it be that some units are not loaded in the ZDbc160.bpl ??

Have you faced this problem ? Have you any idea from where it could come ?

Thanks and regards,

Flagada
just add all directory path in src to library path. my zeos installed in xe2
copy all *.bpl in build directory to :
if using 32 bit windows C:\windows\system32
if using 64 bit windows c:\windows\syswow64

i can connect to firebird program using zeos in XE2
but can't connect to postgresql always show could not load libpq.dll or libpq81.dll
i'm using postgres 8.3, i already copy all dll wich run well on delphi7 with zeos 6.6
Locked