[solved] Delphi 2010 + ZEOS7 ZConnection + MySQL + DLL

The alpha/beta tester's forum for ZeosLib 7.0.x series

Report problems concerning our Delphi 2009+ version and new Zeoslib 7.0 features here.

This is a forum that will be removed once the 7.X version goes into stable!!

Moderators: gto, EgonHugeist, olehs

Locked
DoctorZLO
Senior Boarder
Senior Boarder
Posts: 62
Joined: 12.03.2012, 17:26

[solved] Delphi 2010 + ZEOS7 ZConnection + MySQL + DLL

Post by DoctorZLO »

Good day! When you connect to a server in the library generates an error! Source test project can be downloaded here:

http://letitbit.net/download/48291.4292 ... P.zip.html

Image errors enclose:
Image
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Post by EgonHugeist »

DoctorZLO,

I'm writing from my smartphone... What does that mean "dll"? Do you use the embedded driver here?

Michael
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
ism
Zeos Test Team
Zeos Test Team
Posts: 202
Joined: 02.10.2010, 20:48

Post by ism »

Russian path то file not very good
Select mysql driver , not mysqld
Make sure that the correct dll works for mysql client
Lazarus 1.0.8 fpc 2.6.0
DoctorZLO
Senior Boarder
Senior Boarder
Posts: 62
Joined: 12.03.2012, 17:26

Post by DoctorZLO »

I'm sorry but I think you misunderstood me ... I did not describe the problem ...

I have a form in the project, which is located in the library DLLForm.dll. In the form of a component connection ZConnection. If a component is connected to the MySQL server, and close the form it goes error. I put the finished project which is called a form to connect and then exit out the error ...

It does not matter there are Russian characters in the path or not ...

Images:

Image

Image

Image
ism
Zeos Test Team
Zeos Test Team
Posts: 202
Joined: 02.10.2010, 20:48

Post by ism »

ZConnection.connected:=false
before close

Trace the project and search point exception
Lazarus 1.0.8 fpc 2.6.0
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Post by EgonHugeist »

DoctorZLO,

i've downloaded your app too. And such an design bring lead of pain. Be very carefull what you're doing here. In this case i do not think we have an Zeos problem. So i hope others can help you here..

Michael
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
DoctorZLO
Senior Boarder
Senior Boarder
Posts: 62
Joined: 12.03.2012, 17:26

Post by DoctorZLO »

ism wrote: ZConnection.connected:=false
before close

Trace the project and search point exception
I agree with such a design error goes away ...
Last edited by DoctorZLO on 12.06.2012, 04:01, edited 3 times in total.
DoctorZLO
Senior Boarder
Senior Boarder
Posts: 62
Joined: 12.03.2012, 17:26

Post by DoctorZLO »

EgonHugeist wrote:DoctorZLO,

i've downloaded your app too. And such an design bring lead of pain. Be very carefull what you're doing here. In this case i do not think we have an Zeos problem. So i hope others can help you here..

Michael
I beg your forgiveness for what he did not think to disable the connection ... The fact that I'm redesigning the program from Delphi 7 to Delphi 2010 and there for ZEOS 6.6.6 shutdown before closing the form does not require ...
DoctorZLO
Senior Boarder
Senior Boarder
Posts: 62
Joined: 12.03.2012, 17:26

Post by DoctorZLO »

ZEOS works with standard DBGrid with cxGrid again, something is wrong ... Testing more ...
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Post by EgonHugeist »

DoctorZLO,

Is it possible that now some characters are displayed wrong? IF SO then i have to say sorry. That ws my fault: http://zeos.firmos.at/viewtopic.php?p=15257#15257. But now everything is correct.

Michael
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
DoctorZLO
Senior Boarder
Senior Boarder
Posts: 62
Joined: 12.03.2012, 17:26

Post by DoctorZLO »

EgonHugeist wrote:DoctorZLO,

Is it possible that now some characters are displayed wrong? IF SO then i have to say sorry. That ws my fault: http://zeos.firmos.at/viewtopic.php?p=15257#15257. But now everything is correct.

Michael
I was not with the symbols have problems :) but I'm sure they will write ... I continue to test ... I want to understand what was once a cxGrid ...
DoctorZLO
Senior Boarder
Senior Boarder
Posts: 62
Joined: 12.03.2012, 17:26

Post by DoctorZLO »

Yes it is a mistake component cxGrid ... Closed ...
Locked