[patch_done] Delphi 7 installation problem

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

Locked
Cmasters2002
Fresh Boarder
Fresh Boarder
Posts: 8
Joined: 08.04.2012, 12:58

[patch_done] Delphi 7 installation problem

Post by Cmasters2002 »

Hi I am trying to install reversion 1141 on Delphi 7 however when I try to compile the ZComponent.DPK I get the following error

ZAbstractRODataset.pas (1133) Undeclared Identifier :AsWideString

The line of code is -
Statement.SetUnicodeString(I + 1, Param.{$IFDEF WITHOUT_ASWIDESTRING}Value{$ELSE}AsWideString{$ENDIF});

Any Ideas

Thanks

Colin
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Post by EgonHugeist »

Hey Cmasters2002,

thank you for your hint. Fixed in 1142. Thought i'd uploaded this patch yesterday..

best regards

egonhugeist
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
Cmasters2002
Fresh Boarder
Fresh Boarder
Posts: 8
Joined: 08.04.2012, 12:58

Post by Cmasters2002 »

Thanks
Just updated now compiles fine.

Just for info I do not get Custom Icon's for ZGroupedConnection and ZConnectionGroup in the component Palette just the standard delphi no image ones

Colin
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Post by EgonHugeist »

Hey colin,

ism did a great job concerning the component palette, just look here: http://zeos.firmos.at/viewtopic.php?t=3420 and post/vote what you think.

Btw. wasn't it you who wants only SQLite Support? Keeping D7+SQLite support is a complete inprovement. I included a define in the Zeos.Inc {WITH_UTF8_CONTROLS}. If you uncomment this and you have controls which can display UTF8 (TNT or http://sourceforge.net/projects/utf8vcl/ for example ) than you can enjoy real unicode. On the other hand the ansi delphi's boiling down the widechars and read/write only ansi data from the controls....

Best regards
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
Cmasters2002
Fresh Boarder
Fresh Boarder
Posts: 8
Joined: 08.04.2012, 12:58

Post by Cmasters2002 »

Hi
The Icons look a lot better, you should include them with your Builds?

Currently I am working on a project which is Delphi 7 which needs SQLite Conectivity, However I do not need all the other DB providers included in the build and was wondering if it would be possible to either comment out the providers in code or have the ability on the Zconnection component to select which providers are included in the build?

Also I am going to be working on a Delphi XE2 in the near future which again only requires the SQLLite conectivity.

Colin
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Post by EgonHugeist »

Yes thats the plan i'll add them. But later on.

concerning the DB-Providers: Yes you can suppress compiling of non SQLite provider units by commenting: {.ifdef.....} the providers in the Zeos.inc. It keeps your app.exe a lot smaller..

If tested SQLite with XE and hopefully everything is fine.. With D7 (actually is our problemcompiler (No TWideMemo(s)/Fields and no AsWideString: WideString function)) i can't tell you if really all works like expected...

So tell us issues or better solutiuons :) !!

Michael
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
Cmasters2002
Fresh Boarder
Fresh Boarder
Posts: 8
Joined: 08.04.2012, 12:58

Post by Cmasters2002 »

Thanks for the info about the Zeos.inc.

Are you saying that it may not work with Delphi 7?
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Post by EgonHugeist »

No that wasn't my intention to say, Colin.

I sayd its a complete improvement...

SQLite doesn't support any native characterset codepage. Only Unicode (UTF8/UTF16[le, be]). Which is easiely for Delphi2009 and later and the FPC. For Ansi compilers we use TWideString/Memo-Fields which keeps the conversations as minimal as possible..

So tell us you expiriences..
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
Cmasters2002
Fresh Boarder
Fresh Boarder
Posts: 8
Joined: 08.04.2012, 12:58

Post by Cmasters2002 »

Thanks for the info.

I tweaked the Zeos.inc to remove all the providers I do not require and all seems well apart from the POSTGRESQL provider commenting this out seems to cause a problem on line 101 of the ZComponentReg unit
{$IFDEF ENABLE_POSTGRESQL}, TZPgEventAlerter]) {$ENDIF};

I think it may need to be the following instead

{$IFDEF ENABLE_POSTGRESQL}, TZPgEventAlerter {$ENDIF}]);


Colin
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Post by EgonHugeist »

Right, thanks for you hint, done in my working copy.
Will be commited next times. (Actually trying to find a FreeTDS solution and fix PG with W64).

Michael
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
Locked