Page 1 of 1

MyDAC7 10.3 - Unit MyConnectForm compiled with different version of CRTypes

Posted: Tue 23 Mar 2021 21:40
by peterwiltshire
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)

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

Posted: Wed 24 Mar 2021 14:55
by ViktorV
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.

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

Posted: Thu 25 Mar 2021 20:47
by peterwiltshire
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

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

Posted: Fri 26 Mar 2021 14:18
by ViktorV
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.