Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Datenbanken (https://www.delphipraxis.net/15-datenbanken/)
-   -   Delphi Zeos-Komponenteninstallation schlägt fehl! (https://www.delphipraxis.net/80987-zeos-komponenteninstallation-schlaegt-fehl.html)

FordPerfekt 18. Nov 2006 17:15

Datenbank: MySQL • Zugriff über: Zeos

Zeos-Komponenteninstallation schlägt fehl!
 
'Nabend,

Wollte mal aus Interesse mit Delphi mal was mit Datenbanken machen!
Da ich gelesen habe das ich für MySql zugriff die Zeos komponente benötige, habe ich mir diese heruntergeladen!

Nur wie muss ich diese nun Installieren?
Aus der Hilfe Datei werde ich nicht schlau!

Habe der Reihe die einzelnen .bdsproj Dateien geöffnet dann kam aber bei F9 ne Fehlermeldung...
Habe dann die .dcu dateien die er vermisste hinzugefügt!
Ging immer noch nicht.. Habe dann so ziemlich jede Unit aus \src hinzugefügt!
Aber es kommt beim Compilieren die Meldung:

Zitat:

[Pascal Fehler] ZSqlUpdate.pas(446): E2003 Undefinierter Bezeichner: 'SetDefaultValue'
Diese Meldung kommt hier:
Delphi-Quellcode:
procedure TZUpdateSQL.FillStatement(ResultSet: IZCachedResultSet;
  Statement: IZPreparedStatement; Config: TZSQLStatement;
  OldRowAccessor, NewRowAccessor: TZRowAccessor);
var
...
begin
...
   Statement.SetDefaultValue(I + 1,ResultSet.GetMetadata.GetDefaultValue(ColumnIndex));
...
Könnte mir jemand sagen wie ich das Teil zum laufen bringe?
Habe noch nie ne Komponente installiert!

mfg
FordPerfekt

mkinzler 18. Nov 2006 17:31

Re: Zeos-Komponenteninstallation schlägt fehl!
 
1. Zeos ist nur eine Möglichkeit für den Zugriff auf MySQL.
2. Zeos besteht asus verschiedenen Packages. Zuerst alle Unterverzeichnisse von Source in den Suchpfad übernehmen.Dann mußt zuerst alle Packages aus ZComponent kompilieren. Anschließend ZComponent installieren.

Bob68 18. Nov 2006 17:38

Re: Zeos-Komponenteninstallation schlägt fehl!
 
Hi habe das aus dem forum von Zeos wie man es unter D2006 macht.

Zitat:

Hi!
Thanks to all of you who helped on this topic (btrewern already solved the problem in his post ...) Here is the "official" way to re-install ZeosDBO on Delphi 2006. For testing I just installed the 6.6.0-beta (again...) replacing an already existing ZeosDBO-Installation and wrote down all steps to do this re-install:


1. Close Delphi 2006

2. Delete all ZeosDBO-related dcp-files and bpl-files from your bpl-directory. The default-bpl-directory is "$(BDSPROJECTSDIR)\Bpl".

Here ist the list of all files to be deleted:

o ZCore.dcp
o ZCore100.bpl
o ZCore100.~bpl (if existing)
o ZParseSql.dcp
o ZParseSql100.bpl
o ZParseSql100.~bpl (if existing)
o ZPlain.dcp
o ZPlain100.bpl
o ZPlain100.map
o ZPlain100.~bpl (if existing)
o ZDbc.dcp
o ZDbc100.bpl
o ZDbc100.~bpl (if existing)
o ZComponent.dcp
o ZComponent100.bpl
o ZComponent100.~bpl (if existing)
o ZComponentDesign.dcp
o ZComponentDesign100.bpl
o ZComponentDesign100.~bpl (if existing)


3. Delete the content of the {$ZEOS_HOME}\packages\delphi10\build directory where "{$ZEOS_HOME}" stands for the "home-directory" of your Zeoslib-files (e.g. d:\libraries\d10\zeoslib). Just replace it by the library path you are using.

4. Open the file ZeosDbo.bdsgroup from {$ZEOS_HOME}\packages\delhpi10

5. Be sure the Library path to the ZeosDBOs is still corrent (should be "{$ZEOS_HOME}\packages\delphi10\build")

6. Right-click on every following entry of ZeosDbo.bdsgroup (keep order!) and choose "compile":

* ZCore100.bpl
* ZParseSql100.bpl
* ZPlain100.bpl
* ZDbc100.bpl
* ZComponent100.bpl


7. Right-click on ZComponentDesign100.bpl and choose "install"



That's all and it works on my private and my business Delphi 2006 installation I'm currently working with. I did a lot of Zeos-re-install and it always works that way...

FordPerfekt 19. Nov 2006 07:51

Re: Zeos-Komponenteninstallation schlägt fehl!
 
Guten Morgen!

Habs nach der Anleitung von Bob68 gemacht und es funktioniert!

Habe zwar keine ZComponentDesign100.bpl gehabt und ich hatte auch keine 100 hinter den Namen aber es hat geklappt!

Danke für die Hilfe!!!

mfg
FordPerfekt


Alle Zeitangaben in WEZ +1. Es ist jetzt 09:05 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz