dbExpress driver Samples

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for MySQL in Delphi and C++Builder
Post Reply
LMario
Posts: 4
Joined: Wed 03 Sep 2008 00:26

dbExpress driver Samples

Post by LMario » Wed 03 Sep 2008 01:01

I am running the demos which come with 'dbExpress driver for MySQL, version 4.20.0.8'. At the moment I can run some of them OK. The only demo I have problems to run is the 'Embedded'. It send to me the error:

"Project Embedded.exe raised exception class EMyError with message 'Incorrect key file for table 'emp', try to repair it'

I don't think the table emp is wrong, because it runs OK with the other demos.

I follow the instruccions on the ReadMe.txt for demos. Too I copy the library libmysqld.dll and the folder 'Share' from MySQL folder to the 'Embedded' folder.

What have I forgotten to do?

I am using:

BDS 2006 - Delphi
dbExpress driver for MySQL, version 4.20.0.8
libmysqld.dll from MySQL 5.1

Thank on advance,

Luis M. Mendoza
Mexico

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Thu 04 Sep 2008 14:45

The 'emp' table of Embedded Demo was created with MySQL Embedded server version 4.0.12. To use libmysqld.dll from MySQL 5.1 you should create your own database and table.

LMario
Posts: 4
Joined: Wed 03 Sep 2008 00:26

Post by LMario » Thu 04 Sep 2008 15:46

Yes, you're right. Demo Embedded is now running. The data display OK. But, now I have a new little problem. When I close the demo, displays an error:

'the instruction at "0x01f3369a" referenced memory at "0x02362bc4". The memory could not be "read".

and then

'Runtime error 216 at 01F3369A'

What do I need to do to correct this?

Luis M. Mendoza
Mexico

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Fri 05 Sep 2008 11:52

This problem is connected with the incorrect work of libmysqld.dll.
When it is unloaded from the different dll library (in our case from dbExpress driver), it raises exceptions.

LMario
Posts: 4
Joined: Wed 03 Sep 2008 00:26

Post by LMario » Sat 06 Sep 2008 04:08

>> This problem is connected with the incorrect work of libmysqld.dll.

You mean that I am using a no compatible libmysqld.dll with dbExpress driver for MySQL, version 4.20.0.8'. I download it from the MySQL site (MySQL version 5.1)

Too, I try to work with the libmysqld.dll from MySQL version 4.0.24 and DbdMda 4.20.0.8; "Embedded" demo sends the error:

"Catastrophic failure"

Well I am confusing, What is the version of MySQL-libmysqld.dll, which DbdMda 4.20.0.8 works well.

The only combination that works well for the "Embedded" demo is the libmysqld.dll from MySQL version 4.0.24 and a old Trial version of "dbExpress driver for MySQL": the DbxMda 3.00.1.

Regards,

Luis M. Mendoza S.
Mexico

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Mon 08 Sep 2008 09:54

Thank you for information. We have investigated this problem and fixed it. This fix will be included in the next DbxMda build.

LMario
Posts: 4
Joined: Wed 03 Sep 2008 00:26

Post by LMario » Mon 08 Sep 2008 20:27

You're welcome. When could I download the updated version?

Thanks in advance,

Luis M. Mendoza S.
Mexico

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Thu 11 Sep 2008 08:14

The next DbxMda build will be released in the course of the next week.

Post Reply