Page 1 of 1
[patch_done] Delphi 7 installation problem
Posted: 08.04.2012, 23:33
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
Posted: 08.04.2012, 23:52
by EgonHugeist
Hey Cmasters2002,
thank you for your hint. Fixed in 1142. Thought i'd uploaded this patch yesterday..
best regards
egonhugeist
Posted: 09.04.2012, 00:01
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
Posted: 09.04.2012, 09:52
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
Posted: 09.04.2012, 11:21
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
Posted: 09.04.2012, 16:31
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
Posted: 09.04.2012, 23:54
by Cmasters2002
Thanks for the info about the Zeos.inc.
Are you saying that it may not work with Delphi 7?
Posted: 10.04.2012, 00:08
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..
Posted: 10.04.2012, 16:58
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
Posted: 10.04.2012, 18:29
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