AV for embedded after update to 3.50

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
alec

AV for embedded after update to 3.50

Post by alec » Tue 01 Feb 2005 04:24

I update Mydac from 3.30.2.15 to 3.50.0.16. And now my old application raises AV for all queries to database (e.g. when I show Server Status in MyServerControl from IDE). Application rebuilding not to help me.
It's say: "Error: Access violation at address 00000000. Read of address 00000000".
I rollback to 3.30.2.15 and all works excelent without any changes in my app.
BUT: if i create NEW application with embedded server and mydac 3.50, that all works. I'm confused :?

I use: WinXP/2000Sp4, C++Builder 6, MySQL embedded library 4.1.9

Thanks!

Ikar
Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Post by Ikar » Tue 01 Feb 2005 10:01

Do you get this error if to execute our Embedded Demo?

Have you written correctly datadir and basedir paths in my.ini file? How have you written these paths (through "\" or "/")?

alec

Post by alec » Tue 01 Feb 2005 11:23

Ikar, thank you for attention!
I solve my problem.
Description:
I use MySQLMonitor in my application with mydac 3.30 and all works.
After update to 3.50 i receive AVs. Now I drop MySQLMonitor from DataModule and AV error disappear. I think, that main problem is "compatibility" MySQLMonitor 3.30 with MySQLMonitor 3.50.
After replacement of "old" MySQLMonitor by "new" MySQLMonitor all works excellent.

Ikar
Posts: 1693
Joined: Thu 28 Oct 2004 13:56

Post by Ikar » Wed 02 Feb 2005 08:22

Do you mean TMySQLMonitor component? If so, then actions you performed mustn't tell on error occurrence. Quite possible, it will happen again.

Post Reply