AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Datenbanken Delphi Delphi Zeoslib mysql?
Thema durchsuchen
Ansicht
Themen-Optionen

Delphi Zeoslib mysql?

Ein Thema von Destroyer446 · begonnen am 25. Mai 2011 · letzter Beitrag vom 26. Mai 2011
Antwort Antwort
Seite 1 von 2  1 2      
Destroyer446

Registriert seit: 17. Jan 2011
67 Beiträge
 
#1

Delphi Zeoslib mysql?

  Alt 25. Mai 2011, 13:56
Datenbank: xampp • Version: MySQL 5.1.41 (Community Server) mit PBXT engine 1.0.09-rc • Zugriff über: Delphi
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: http://www.delphi-treff.de/tutorials...l-mit-zeoslib/ steht, dass man die auf die Form packen soll, aber ich weiß nicht wo sie sind ...
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
  Mit Zitat antworten Zitat
Benutzerbild von DeddyH
DeddyH

Registriert seit: 17. Sep 2006
Ort: Barchfeld
27.542 Beiträge
 
Delphi 11 Alexandria
 
#2

AW: Delphi Zeoslib mysql?

  Alt 25. Mai 2011, 14:00
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:
1. Unpack the archive to a folder (not for SVN versions, of course)
2. Copy the required dlls for your database client to the windows system directory (usually Windows\
System or winnt\system32) or use the database client installer.
Attention : think about licence issues when working with the database client libraries. Not all software is
freely distributable in all situations. These libraries are NOT a part of the zeoslib packages.
3. Add the build Directory of the package you are about to install to Delphi's library path.
4. Locate the package directory associated with your compiler and open the ZeosDbo.bpg project group.
Load the project and compile the following components in the order listed (or just choose compile all
from Project-Menu):
• ZCore.bpl
• ZParseSql.bpl
• ZPlain.bpl
• ZDbc.bpl
• ZComponent.bpl
5. If all the packages, listed above are successfully compiled you have to install the ZComponentDesign.
bpl. After that all ZEOS components are available in the IDE.
If the ZComponentDesign.bpl package isn't available for your compiler (eg. for fpc/lazarus), you
should just install the ZComponent.bpl
6. Create your own project and start adding the compoents through the IDE and set connection properties. For
a quick tutorial, use the example provided with the project or browse the resources on the web page.
Hast Du das genauso gemacht wie dort beschrieben? [/edit]
Detlef
"Ich habe Angst vor dem Tag, an dem die Technologie unsere menschlichen Interaktionen übertrumpft. Die Welt wird eine Generation von Idioten bekommen." (Albert Einstein)
Dieser Tag ist längst gekommen

Geändert von DeddyH (25. Mai 2011 um 14:06 Uhr)
  Mit Zitat antworten Zitat
Destroyer446

Registriert seit: 17. Jan 2011
67 Beiträge
 
#3

AW: Delphi Zeoslib mysql?

  Alt 25. Mai 2011, 14:20
Bei den Dateien:
Code:
  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';
Sagt er mir, dass er sie nicht finden kann... ([Fatal Error] ZCore.dpk(45): File not found: 'ZVariant.dcu')
  Mit Zitat antworten Zitat
Benutzerbild von DeddyH
DeddyH

Registriert seit: 17. Sep 2006
Ort: Barchfeld
27.542 Beiträge
 
Delphi 11 Alexandria
 
#4

AW: Delphi Zeoslib mysql?

  Alt 25. Mai 2011, 14:23
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.
Detlef
"Ich habe Angst vor dem Tag, an dem die Technologie unsere menschlichen Interaktionen übertrumpft. Die Welt wird eine Generation von Idioten bekommen." (Albert Einstein)
Dieser Tag ist längst gekommen
  Mit Zitat antworten Zitat
Destroyer446

Registriert seit: 17. Jan 2011
67 Beiträge
 
#5

AW: Delphi Zeoslib mysql?

  Alt 25. Mai 2011, 14:48
kk, ich habe version 5.5 von zeoslib, weil die bei dem tut verwendet wird.
Ich probier nochmal eine andere version (6.6)
  Mit Zitat antworten Zitat
Destroyer446

Registriert seit: 17. Jan 2011
67 Beiträge
 
#6

AW: Delphi Zeoslib mysql?

  Alt 25. Mai 2011, 15:00
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?
  Mit Zitat antworten Zitat
Benutzerbild von DeddyH
DeddyH

Registriert seit: 17. Sep 2006
Ort: Barchfeld
27.542 Beiträge
 
Delphi 11 Alexandria
 
#7

AW: Delphi Zeoslib mysql?

  Alt 25. Mai 2011, 15:03
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
Detlef
"Ich habe Angst vor dem Tag, an dem die Technologie unsere menschlichen Interaktionen übertrumpft. Die Welt wird eine Generation von Idioten bekommen." (Albert Einstein)
Dieser Tag ist längst gekommen
  Mit Zitat antworten Zitat
Destroyer446

Registriert seit: 17. Jan 2011
67 Beiträge
 
#8

AW: Delphi Zeoslib mysql?

  Alt 25. Mai 2011, 15:04
Oh man bin ich blöd xD
Jez hats funktz^^

Aber danke für deine Antworten sons hätt ichs nit geschafft

MFG Destroyer446!
  Mit Zitat antworten Zitat
Destroyer446

Registriert seit: 17. Jan 2011
67 Beiträge
 
#9

AW: Delphi Zeoslib mysql?

  Alt 25. Mai 2011, 15:11
... 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
  Mit Zitat antworten Zitat
Destroyer446

Registriert seit: 17. Jan 2011
67 Beiträge
 
#10

AW: Delphi Zeoslib mysql?

  Alt 25. Mai 2011, 15:18
Na Toll .............
Noch mehr Fehler ...
Hab ich eine verbuggte Version???
hab die 6.6 - Stable version -.-
Jez steht dauernd sowas:
Code:
{$I ZDbc.inc}
vor "uses" und das darf ich alles manuell machen Oh mein Gott!

Hat irgendwer eine Version die auf Delphi 7 funktioniert??????

Danke!!!!
  Mit Zitat antworten Zitat
Antwort Antwort
Seite 1 von 2  1 2      


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 02:29 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