MyDAC7 10.3 - Unit MyConnectForm compiled with different version of CRTypes

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
peterwiltshire
Posts: 2
Joined: Tue 23 Mar 2021 21:21

MyDAC7 10.3 - Unit MyConnectForm compiled with different version of CRTypes

Post by peterwiltshire » Tue 23 Mar 2021 21:40

Get this error after upgrading myDAC (Delphi7) to ver 10.3 from ver. 7 - I needed the JSON feature.
I've tried uninstall and re-install. The FAQ on this problem says to uninstall other Devart components, but I don't have any.
Is there a way to make a clean manual un-install ?
I see the source code for MyConnectForm is there - can I delete the dcu and somehow re-compile.
Any help or tips are welcome.
(Satisfied MyDAC user for many years)

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: MyDAC7 10.3 - Unit MyConnectForm compiled with different version of CRTypes

Post by ViktorV » Wed 24 Mar 2021 14:55

Also it seems that there are some old units of our products on your computer.
To solve the problem perform the following steps:
- Uninstall MyDAC;
- Find all DAC units, like MemUtils.dcu, CRParser.dcu, CLRClasses.dcu, CRTypes.*, MyConnectForm.*, MemData.dcu, MemDS.dcu, DBAccess.dcu, MyClasses.dcu files on your PC and delete them;
- Find all *dac*.bpl, *dac*.dcp, *dac*.bpi, *dac*.lib, *crcontrols*.bpl, *crcontrols*.dcp, *crcontrols*.bpi, *crcontrols*.lib files on your PC and delete them.
- Run MyDAC install with option "force" (mydac*.exe /force) as administrator.

Also note, if you have components using MyDAC, when updating MyDAC, you should recompile them and reinstall.

peterwiltshire
Posts: 2
Joined: Tue 23 Mar 2021 21:21

Re: MyDAC7 10.3 - Unit MyConnectForm compiled with different version of CRTypes

Post by peterwiltshire » Thu 25 Mar 2021 20:47

I finally found and deleted a copy of MyConnectForm.dcu that was hiding in Users/Public/Public Documents/........
I think it was part of the Demos from my earlier myDAC version.
So now the project compiles again ! Much thanks for your detailed and prompt help.
Best Regards,
Peter Wiltshire

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: MyDAC7 10.3 - Unit MyConnectForm compiled with different version of CRTypes

Post by ViktorV » Fri 26 Mar 2021 14:18

Thank you for the interest to our product.
It is good to see that the issue has been solved.
If you have any questions during using our products, please don't hesitate to contact us - and we will try to help you solve them.

Post Reply