Page 1 of 1

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

Posted: 11.06.2012, 08:13
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

Posted: 11.06.2012, 09:05
by EgonHugeist
DoctorZLO,

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

Michael

Posted: 11.06.2012, 11:43
by ism
Russian path то file not very good
Select mysql driver , not mysqld
Make sure that the correct dll works for mysql client

Posted: 11.06.2012, 13:12
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

Posted: 11.06.2012, 17:50
by ism
ZConnection.connected:=false
before close

Trace the project and search point exception

Posted: 11.06.2012, 22:55
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

Posted: 12.06.2012, 03:46
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 ...

Posted: 12.06.2012, 03:49
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 ...

Posted: 12.06.2012, 04:25
by DoctorZLO
ZEOS works with standard DBGrid with cxGrid again, something is wrong ... Testing more ...

Posted: 12.06.2012, 05:16
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

Posted: 12.06.2012, 05:28
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 ...

Posted: 12.06.2012, 06:57
by DoctorZLO
Yes it is a mistake component cxGrid ... Closed ...