hy
i installed the zeoslib from http://users.telenet.be/mdaems/
when i start my programm with the LazarusIDE -> FN9 at the first time the Databaseconnection to my Firebirddatabase 1.5 establisht, when i recompile and start it at twice then comes the EZSQLException!
then i start my lazarus again with this project, and at the first time my project run.
what can i do?
thanks for your replies
andi
lazarus zeoslib 6.5.1 EZSQLException
Moderators: gto, cipto_kh, EgonHugeist
ok i think i know the problem,
the firebird.log file contains the errormsg:
AM3 (Client) Mon Jul 10 11:30:19 2006
INET/inet_error: socket errno = 10106
firebird 1.5, winxp prof.
is there anybody out there where had the same problem?
sorry for my english :-)
thanks for your replys
code for connect:
iIniFile := TIniFile.Create(ExtractFilePath(Application.ExeName)+'serverconfig.ini');
DBDataMod.ZCDB.Database := iIniFile.ReadString('serverconfig','databasefile','');
DBDataMod.ZCDB.HostName := iIniFile.ReadString('serverconfig','host','');
DBDataMod.ZCDB.Port := strtoint(iIniFile.ReadString('serverconfig','port',''));
DBDataMod.ZCDB.Protocol := iIniFile.ReadString('serverconfig','protocol','');
DBDataMod.ZCDB.User := iIniFile.ReadString('serverconfig','username','');
DBDataMod.ZCDB.Password := iIniFile.ReadString('serverconfig','password','');
DBDataMod.ZCDB.Properties.Add('Dialect=3');
try
DBDataMod.ZCDB.Connect;
the firebird.log file contains the errormsg:
AM3 (Client) Mon Jul 10 11:30:19 2006
INET/inet_error: socket errno = 10106
firebird 1.5, winxp prof.
is there anybody out there where had the same problem?
sorry for my english :-)
thanks for your replys
code for connect:
iIniFile := TIniFile.Create(ExtractFilePath(Application.ExeName)+'serverconfig.ini');
DBDataMod.ZCDB.Database := iIniFile.ReadString('serverconfig','databasefile','');
DBDataMod.ZCDB.HostName := iIniFile.ReadString('serverconfig','host','');
DBDataMod.ZCDB.Port := strtoint(iIniFile.ReadString('serverconfig','port',''));
DBDataMod.ZCDB.Protocol := iIniFile.ReadString('serverconfig','protocol','');
DBDataMod.ZCDB.User := iIniFile.ReadString('serverconfig','username','');
DBDataMod.ZCDB.Password := iIniFile.ReadString('serverconfig','password','');
DBDataMod.ZCDB.Properties.Add('Dialect=3');
try
DBDataMod.ZCDB.Connect;