Autor Beitrag
the_immortal
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 78



BeitragVerfasst: Mi 12.10.05 11:13 
Guten Tag

Ich habe heute versucht die ZeosLib Version 6.1.5 stable zu installieren und das hat auch ganz gut funktioniert, bis auf die examples die ich danach ausprobieren wollte.

Wenn ich das example "simple" (ZSimple.dpr) ausführen will (auch bei anderen examples) erhalte ich folgende Fehlermeldung

[Error] ZSimpleMain.pas(128): Undeclared identifier: 'RequestLive'

und der Zeiger bleibt bei folgender Zeile stehen:

Dataset.RequestLive := True;


Ich habe es auch schon mit der neusten alpha Version versucht und dieselben Probs erhalten.

PS: Ich will endlich mit Delphi 7 auf MySQL zugreiffen können :P
the_immortal Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 78



BeitragVerfasst: Mi 12.10.05 13:20 
Ich habe jetzt eine TZConnection erstellt und wie folgt connected:

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
  Conn1.HostName := 'localhost';
  Conn1.Port := 3306;
  Conn1.User := 'xxxx';
  Conn1.Password := 'xxxx';
  Conn1.Database := 'test';
  Conn1.Connect;
  //Conn1.Connected := true;


und das funktioniert, jedoch wenn ich mit einem TZQuery versuche ein String zu executen

Query1.SQL.Text := 'show create table test';
Query1.ExecSQL;

erhalte ich einen weiteren Error


Zuletzt bearbeitet von the_immortal am Mi 12.10.05 15:05, insgesamt 1-mal bearbeitet
the_immortal Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 78



BeitragVerfasst: Mi 12.10.05 13:37 
Jetzt funktioniert es :) *jeeepeee*:


ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
  Conn1.HostName := 'localhost';
  Conn1.Port := 3306;
  Conn1.User := 'xxxx';
  Conn1.Password := 'xxxx';
  Conn1.Database := 'test';
  Conn1.Connect;
  Query1.Connection := Conn1; //Conn1.Connected := true;
  Query1.SQL.Text := 'select * from brand';
  Query1.ExecSQL;
  Query1.Active := true;
tomtom62
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 278

WIN 2000, XP prof
D5 prof.
BeitragVerfasst: Mi 12.10.05 14:06 
Ich würde auf jeden Fall auf die 6.51 alpha wechseln. Die sind zwar Alpha, aber es geht jetzt wieder mit der Entwicklung voran und Probleme die da sind werden nach und nach gelöst.

Ich setze sie ein und konnte keine Probleme feststellen.

Die Beispiele sind oft von alten Versionen "umkopiert" worden, allerdings hat sich vieles verändert bzw. wurde weiterentwickelt, deshalb sind die Beispiele nicht immer fehlerfrei..

Thomas
the_immortal Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 78



BeitragVerfasst: Mi 12.10.05 15:08 
user profile icontomtom62 hat folgendes geschrieben:
Ich würde auf jeden Fall auf die 6.51 alpha wechseln. Die sind zwar Alpha, aber es geht jetzt wieder mit der Entwicklung voran und Probleme die da sind werden nach und nach gelöst.

Ich setze sie ein und konnte keine Probleme feststellen.

Die Beispiele sind oft von alten Versionen "umkopiert" worden, allerdings hat sich vieles verändert bzw. wurde weiterentwickelt, deshalb sind die Beispiele nicht immer fehlerfrei..

Thomas


Ja ich habe auch wieder auf 6.5.1-alpha_cvs_26-09-2005 gewechselt und es funktioniert bestens!
tomtom62
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 278

WIN 2000, XP prof
D5 prof.
BeitragVerfasst: Do 13.10.05 07:41 
Mach bitte einen Haken an den Thread, wenn er erledigt ist..-)

Thomas