Page 1 of 1

[Fatal Error] compiling with MySQL direct components

Posted: Wed 18 Oct 2006 18:47
by mem5922
Got the following error when compiling/running a new app that uses the MySQL Access components:
[Fatal Error] uMyOA.pas(8): Unit MyAccess was compiled with a different version of MySQLMonitor.TMySQLMonitor

I did have DAC for MySQL loaded earlier but thought I uninstalled it. Can anyone offer a suggestion? Thanks.

Mike

Posted: Thu 19 Oct 2006 07:41
by Antaeus
Try to perform following steps to solve this problem:
1) Close IDE
2) Uninstall MyDAC
3) Search for MyAccess.*, DBAccess.*, MySQLMonitor.*, mydac*.bpl, dac*.bpl etc files at your HDD and delete them
4) Remove from the project directory all files made by compiler and linker
5) Remove from the registry (HKCU\Software\Borland\Delphi\7.0\Known Packages) all the links to MyDAC packages (mydac*.bpl, dac*.bpl)
6) Run IDE and check that it is started without errors
7) Close IDE
8) Install MyDAC once more