[patch_done] Delphi 7 installation problem
Moderators: gto, EgonHugeist, olehs
-
- Fresh Boarder
- Posts: 8
- Joined: 08.04.2012, 12:58
[patch_done] Delphi 7 installation problem
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
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
- EgonHugeist
- Zeos Project Manager
- Posts: 1936
- Joined: 31.03.2011, 22:38
Hey Cmasters2002,
thank you for your hint. Fixed in 1142. Thought i'd uploaded this patch yesterday..
best regards
egonhugeist
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/
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/
-
- Fresh Boarder
- Posts: 8
- Joined: 08.04.2012, 12:58
- EgonHugeist
- Zeos Project Manager
- Posts: 1936
- Joined: 31.03.2011, 22:38
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
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/
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/
-
- Fresh Boarder
- Posts: 8
- Joined: 08.04.2012, 12:58
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
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
- EgonHugeist
- Zeos Project Manager
- Posts: 1936
- Joined: 31.03.2011, 22:38
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
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/
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/
-
- Fresh Boarder
- Posts: 8
- Joined: 08.04.2012, 12:58
- EgonHugeist
- Zeos Project Manager
- Posts: 1936
- Joined: 31.03.2011, 22:38
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..
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/
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/
-
- Fresh Boarder
- Posts: 8
- Joined: 08.04.2012, 12:58
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
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
- EgonHugeist
- Zeos Project Manager
- Posts: 1936
- Joined: 31.03.2011, 22:38
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
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/
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/