![]() |
Datenbank: xampp • Version: MySQL 5.1.41 (Community Server) mit PBXT engine 1.0.09-rc • Zugriff über: Delphi
Delphi Zeoslib mysql?
Hi!
Ich habe grade die ZeosLib Komponenten für Delphi installiert(habe Delphi 7 Erweiterung), und jetzt weiß ich aber nicht, 1. Wo die Kompos sind, wie ich sie aufs Form bekomme 2. Wie ich sie benutze Im Tutorial bei: ![]() Hoffe jemand kann mir eins von den beiden Fragen beantworten: - Wo sind die Komponenten? - Welche Units muss ich einbinden(für anfänglichen MySQL zugriff, will nur auf Server zugreifen und SQL-Befehle eingeben) und welche Typen definieren? Danke :) |
AW: Delphi Zeoslib mysql?
Bist Du sicher, dass Du sie auch installiert hast? Falls es mehrere Packages sind, hast Du auch die Designtime-Packages installiert, nicht nur kompiliert? Dann müsste sich nämlich in der Komponentenpalette ein Reiter ZEOS oder so finden lassen, wo die Komponenten dann drauf sind.
[edit] Ich habe mir das Archiv mal schnell heruntergeladen. Im doc-Verzeichnis befindet sich u.a. eine Installationsanleitung. Zitat: Zitat:
|
AW: Delphi Zeoslib mysql?
Bei den Dateien:
Code:
Sagt er mir, dass er sie nicht finden kann... ([Fatal Error] ZCore.dpk(45): File not found: 'ZVariant.dcu')
ZVariant in '..\..\src\core\ZVariant.pas',
ZCollections in '..\..\src\core\ZCollections.pas', ZCompatibility in '..\..\src\core\ZCompatibility.pas', ZExpression in '..\..\src\core\ZExpression.pas', ZExprParser in '..\..\src\core\ZExprParser.pas', ZExprToken in '..\..\src\core\ZExprToken.pas', ZFunctions in '..\..\src\core\ZFunctions.pas', ZMatchPattern in '..\..\src\core\ZMatchPattern.pas', ZSysUtils in '..\..\src\core\ZSysUtils.pas', ZTokenizer in '..\..\src\core\ZTokenizer.pas', ZVariables in '..\..\src\core\ZVariables.pas', ZClasses in '..\..\src\core\ZClasses.pas', ZMessages in '..\..\src\core\ZMessages.pas'; |
AW: Delphi Zeoslib mysql?
Ich hab hier kein Delphi 7, kann aber zu Hause mal versuchen, die Dinger zu installieren. Das wird aber erst nach 17:30 Uhr etwas.
|
AW: Delphi Zeoslib mysql?
kk, ich habe version 5.5 von zeoslib, weil die bei dem tut verwendet wird.
Ich probier nochmal eine andere version (6.6) |
AW: Delphi Zeoslib mysql?
Jetzt kommt der Fehler, wenn ich die *.bpl dateien installieren will:
[Dateiname] can't be installed because its not a design time package. Was heißt das? |
AW: Delphi Zeoslib mysql?
Runtime-Packages kannst Du nur kompilieren, nicht installieren (sie enthalten auch keine Komponenten). Installieren geht nur mit Designtime-Packages. Diese haben meist ein D im Namen, z.B.:
Code:
Tolle_Kompos_R.dpk //Runtime
Tolle_Kompos_D.dpk //Designtime |
AW: Delphi Zeoslib mysql?
Oh man bin ich blöd xD
Jez hats funktz^^ Aber danke für deine Antworten sons hätt ichs nit geschafft ;) MFG Destroyer446! |
AW: Delphi Zeoslib mysql?
... Jeze kommen ganz viele Fehler:
Code:
[Error] ZAbstractRODataset.pas(60): Declaration expected but 'USES' found
[Error] ZAbstractRODataset.pas(92): Undeclared identifier: 'EDatabaseError' [Error] ZAbstractRODataset.pas(92): Class type required [Error] ZAbstractRODataset.pas(99): Undeclared identifier: 'EZSQLThrowable' [Error] ZAbstractRODataset.pas(106): Undeclared identifier: 'TDataLink' [Error] ZAbstractRODataset.pas(110): Method 'ActiveChanged' not found in base class [Error] ZAbstractRODataset.pas(111): Undeclared identifier: 'TField' [Error] ZAbstractRODataset.pas(117): Undeclared identifier: 'TDataSet' [Error] ZAbstractRODataset.pas(123): Undeclared identifier: 'TZRowAccessor' [Error] ZAbstractRODataset.pas(124): Undeclared identifier: 'PZRowBuffer' [Error] ZAbstractRODataset.pas(126): Undeclared identifier: 'TZSortedList' [Error] ZAbstractRODataset.pas(128): Undeclared identifier: 'TIntegerDynArray' [Error] ZAbstractRODataset.pas(132): Undeclared identifier: 'IZExpression' [Error] ZAbstractRODataset.pas(133): Undeclared identifier: 'TZExecutionStack' [Error] ZAbstractRODataset.pas(134): Undeclared identifier: 'TObjectDynArray' [Error] ZAbstractRODataset.pas(140): Undeclared identifier: 'TZSQLStrings' [Error] ZAbstractRODataset.pas(141): Undeclared identifier: 'TParams' [Error] ZAbstractRODataset.pas(142): Undeclared identifier: 'TUpdateStatusSet' [Error] ZAbstractRODataset.pas(145): Undeclared identifier: 'TStrings' [Error] ZAbstractRODataset.pas(146): Undeclared identifier: 'TZConnection' [Error] ZAbstractRODataset.pas(147): Undeclared identifier: 'IZPreparedStatement' [Error] ZAbstractRODataset.pas(148): Undeclared identifier: 'IZResultSet' [Error] ZAbstractRODataset.pas(153): Undeclared identifier: 'TMasterDataLink' [Error] ZAbstractRODataset.pas(157): Undeclared identifier: 'TList' [Error] ZAbstractRODataset.pas(164): Undeclared identifier: 'TBooleanDynArray' [Error] ZAbstractRODataset.pas(179): Undeclared identifier: 'TDataSource' [Error] ZAbstractRODataset.pas(196): Undeclared identifier: 'TReader' [Error] ZAbstractRODataset.pas(197): Undeclared identifier: 'TWriter' [Error] ZAbstractRODataset.pas(211): Undeclared identifier: 'TStringDynArray' [Error] ZAbstractRODataset.pas(215): Method 'DoOnNewRecord' not found in base class [Error] ZAbstractRODataset.pas(217): Method 'GetDataSource' not found in base class [Error] ZAbstractRODataset.pas(256): Undeclared identifier: 'usUnmodified' [Error] ZAbstractRODataset.pas(256): Undeclared identifier: 'usModified' [Error] ZAbstractRODataset.pas(256): Undeclared identifier: 'usInserted' [Error] ZAbstractRODataset.pas(256): Constant expression expected [Error] ZAbstractRODataset.pas(276): Method 'InternalAddRecord' not found in base class [Error] ZAbstractRODataset.pas(277): Method 'InternalDelete' not found in base class [Error] ZAbstractRODataset.pas(278): Method 'InternalPost' not found in base class [Error] ZAbstractRODataset.pas(280): Method 'SetFieldData' not found in base class [Error] ZAbstractRODataset.pas(282): Method 'SetFieldData' not found in base class [Error] ZAbstractRODataset.pas(283): Undeclared identifier: 'TFiler' [Error] ZAbstractRODataset.pas(285): Undeclared identifier: 'TGetMode' [Error] ZAbstractRODataset.pas(286): Undeclared identifier: 'TGetResult' [Error] ZAbstractRODataset.pas(285): Method 'GetRecord' not found in base class [Error] ZAbstractRODataset.pas(287): Method 'GetRecordSize' not found in base class [Error] ZAbstractRODataset.pas(289): Method 'AllocRecordBuffer' not found in base class [Error] ZAbstractRODataset.pas(290): Method 'FreeRecordBuffer' not found in base class [Error] ZAbstractRODataset.pas(291): Method 'CloseBlob' not found in base class [Error] ZAbstractRODataset.pas(297): Undeclared identifier: 'TFieldDef' [Error] ZAbstractRODataset.pas(299): Method 'ClearCalcFields' not found in base class [Error] ZAbstractRODataset.pas(301): Method 'InternalInitFieldDefs' not found in base class [Error] ZAbstractRODataset.pas(302): Method 'InternalOpen' not found in base class [Error] ZAbstractRODataset.pas(303): Method 'InternalClose' not found in base class [Error] ZAbstractRODataset.pas(304): Method 'InternalFirst' not found in base class [Error] ZAbstractRODataset.pas(305): Method 'InternalLast' not found in base class [Error] ZAbstractRODataset.pas(306): Method 'InternalInitRecord' not found in base class [Error] ZAbstractRODataset.pas(307): Method 'InternalGotoBookmark' not found in base class [Error] ZAbstractRODataset.pas(308): Method 'InternalRefresh' not found in base class [Error] ZAbstractRODataset.pas(309): Method 'InternalHandleException' not found in base class [Error] ZAbstractRODataset.pas(310): Method 'InternalSetToRecord' not found in base class [Error] ZAbstractRODataset.pas(312): Method 'GetBookmarkData' not found in base class [Error] ZAbstractRODataset.pas(313): Undeclared identifier: 'TBookmarkFlag' [Error] ZAbstractRODataset.pas(314): Method 'SetBookmarkFlag' not found in base class [Error] ZAbstractRODataset.pas(315): Method 'SetBookmarkData' not found in base class [Error] ZAbstractRODataset.pas(318): Undeclared identifier: 'TLocateOptions' [Error] ZAbstractRODataset.pas(319): Method 'FindRecord' not found in base class [Error] ZAbstractRODataset.pas(320): Method 'SetFiltered' not found in base class [Error] ZAbstractRODataset.pas(321): Method 'SetFilterText' not found in base class [Error] ZAbstractRODataset.pas(328): Method 'GetCanModify' not found in base class [Error] ZAbstractRODataset.pas(329): Method 'GetRecNo' not found in base class [Error] ZAbstractRODataset.pas(330): Method 'GetRecordCount' not found in base class [Error] ZAbstractRODataset.pas(332): Method 'SetRecNo' not found in base class [Error] ZAbstractRODataset.pas(333): Method 'IsCursorOpen' not found in base class [Error] ZAbstractRODataset.pas(335): Undeclared identifier: 'TComponent' [Error] ZAbstractRODataset.pas(336): Undeclared identifier: 'TOperation' [Error] ZAbstractRODataset.pas(335): Method 'Notification' not found in base class [Error] ZAbstractRODataset.pas(373): Cannot override a static method [Error] ZAbstractRODataset.pas(379): Undeclared identifier: 'TParam' [Error] ZAbstractRODataset.pas(381): Method 'Locate' not found in base class [Error] ZAbstractRODataset.pas(383): Method 'Lookup' not found in base class [Error] ZAbstractRODataset.pas(385): Method 'IsSequenced' not found in base class [Error] ZAbstractRODataset.pas(387): Undeclared identifier: 'TBookmark' [Error] ZAbstractRODataset.pas(389): Method 'BookmarkValid' not found in base class [Error] ZAbstractRODataset.pas(391): Method 'GetFieldData' not found in base class [Error] ZAbstractRODataset.pas(392): Method 'GetFieldData' not found in base class [Error] ZAbstractRODataset.pas(394): Undeclared identifier: 'TBlobStreamMode' [Error] ZAbstractRODataset.pas(394): Undeclared identifier: 'TStream' [Error] ZAbstractRODataset.pas(396): Undeclared identifier: 'TUpdateStatus' [Fatal Error] ZAbstractRODataset.pas(397): Compilation terminated; too many errors |
AW: Delphi Zeoslib mysql?
Na Toll .............
Noch mehr Fehler ... Hab ich eine verbuggte Version??? hab die 6.6 - Stable version -.- Jez steht dauernd sowas:
Code:
vor "uses" und das darf ich alles manuell machen Oh mein Gott!
{$I ZDbc.inc}
Hat irgendwer eine Version die auf Delphi 7 funktioniert?????? Danke!!!! |
AW: Delphi Zeoslib mysql?
Wie gesagt: wenn Du eine gute Stunde warten kannst probiere ich das mal mit Delphi 7. Auf den ersten Blick konnte ich allerdings nichts Auffälliges entdecken. Die *.inc-Dateien sind aber im gleichen Ordner wie die *.pas, oder?
|
AW: Delphi Zeoslib mysql?
Hast du unter Tools->Umgebungsoptionen->Bibliothek auch den Suchpfad eingetragen? Oder hast du die DCUs einfach in den Lib-Ordner gekippt? Oder vielleicht gar nichts von beidem?
|
AW: Delphi Zeoslib mysql?
schau mal hier >
![]() |
AW: Delphi Zeoslib mysql?
So, ich habe mich an die weiter vorne zitierte Anweisung gehalten. ZEOS ist nun in meinem Delphi 7 installiert. Keine Ahnung, was Du falsch machst.
|
AW: Delphi Zeoslib mysql?
Welche Komponenten sind bei dir da?
Und ist das richtig dass ich die ganzen *.pas usw selbst ins Lib verzeichnis kopieren muss? Danke |
AW: Delphi Zeoslib mysql?
Zitat:
|
AW: Delphi Zeoslib mysql?
Liste der Anhänge anzeigen (Anzahl: 1)
Ich habe das komplette Archiv entpackt (bei mir nach C:\ZEOSLib). Dann bin ich innerhalb dieses Verzeichnis zu packages\delphi7 gewechselt und habe die ZeosDbo.bpg in Delphi 7 geöffnet. Anschließend alle Packages der Reihe nach kompiliert, das Package ZComponentDesign.dpk zusätzlich installiert und den neu entstandenen Ordner build meinem Bibliothekspfad hinzugefügt. Nun habe ich einen neuen Reiter "Zeos Access" in meiner Komponentenpalette.
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 15:47 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz