Page 1 of 1

Error DELPHI 2010 and MyDac

Posted: Sat 04 Dec 2010 11:48
by Josep Radresa
Gentlemen:
SDAC I'm using for quite some time.
MyDac I installed for testing and trying to compile a
2010 DELPHI program gives me the following error:
[DCC Fatal Error] dDocu.pas(6): F2051 Unit MySqlApi was compiled with a different version of CLRClasses.UnicodeToUtf8
Can you help?
Greetings

Posted: Mon 06 Dec 2010 09:31
by Dimon
Product compatibility is provided for the current build only. To make MyDAC and SDAC work simultaneously on the same IDE, you should use the latest versions of them. The latest compatible versions are the following: MyDAC 6.00.0.2, SDAC 5.00.0.2.

Posted: Mon 06 Dec 2010 11:23
by Josep Radresa
In order to perform the tests I downloaded trial versions MyDac SDAC 5.00.0.2 and 6.00.0.0 and it is with these versions gives me the error

Posted: Mon 06 Dec 2010 11:29
by Dimon
To solve the problem use the MyDAC version 6.00.0.2.

Posted: Mon 06 Dec 2010 15:50
by Josep Radresa
I just bought the package through ComponentSource MyDAC 6.00.0.2 and I also uninstalled SDAC to avoid problems, but to compile a small test program now gives me this error:
[DCC Fatal Error] dDocu.pas(6): F2051 Unit MyClasses was compiled with a different version of CRParser.lxSET

Posted: Mon 06 Dec 2010 16:05
by Josep Radresa
He allowed determining that the error occurs in a Delphi 2010 program that has a single component TMyConnection.
Other programs access the database without problems, since I have installed dbForge Fusion for MySQL shareware and have acquired dbForge

Posted: Tue 07 Dec 2010 13:54
by Dimon
It seems that there are some old DAC units on your computer. To solve the problem perform the following steps:
- uninstall MyDAC and SDAC;
- find all DAC units, like CRParser.dcu, CLRClasses.dcu, MemData.dcu, MemDS.dcu, DBAccess.dcu, MyClasses.dcu files on your PC and delete them;
- find all *dac*.bpl files on your PC and delete them.
- install MyDAC.