As I need the fixed TMyDump, I have to take the pain to update to 7.1.3 source version (as I has some minor change on the source code so I need to install the source version).
When Installing dacvcl140.bpl (Delphi 2010), It complained that "Cannot load package 'dacvcl140.' It contains unit 'CRTypes,'which is also contained in package 'dac140'."
I checked and see that DacGui.inc in dacvcl140.bpl has used CRFunctions which in turn used CRTypes and that two files is already in dac140.
I checked and see that my previous installation version (6.10.0.9) do not has that uses.
May I ask how I can handle that problem?
Thanks.
[Urgent] Error Installing 7.1 from Source
-
AndreyZ
Hello,
I cannot reproduce the problem. It seems that there are still some files from the old MyDAC version on your computer. To solve the problem, please try the following:
- open Delphi 2010;
- remove all Devart MyDAC packages using the "Component->Install Packages" menu;
- close Delphi 2010;
- remove all *dac*.bpl, *dac*.bpi, *dac*.lib, *dac*.dcp files from your computer;
- remove *.dcu files from your project;
- compile and install MyDAC packages as it's written in the ReadMeSrc.txt file.
I cannot reproduce the problem. It seems that there are still some files from the old MyDAC version on your computer. To solve the problem, please try the following:
- open Delphi 2010;
- remove all Devart MyDAC packages using the "Component->Install Packages" menu;
- close Delphi 2010;
- remove all *dac*.bpl, *dac*.bpi, *dac*.lib, *dac*.dcp files from your computer;
- remove *.dcu files from your project;
- compile and install MyDAC packages as it's written in the ReadMeSrc.txt file.
Thank you for your quick response.
However, the problem is not old files which I knew how to remove.
The problem is that in the DacGui.inc in the source code download package, it had uses CRFunctions in its implementation part.
Maybe your version already has that removed but the package downloaded definitely has it.
Anyway, I tried and find that that uses is not needed and after I remove the uses, all package compiled fine.
Thanks again for your kind help.
However, the problem is not old files which I knew how to remove.
The problem is that in the DacGui.inc in the source code download package, it had uses CRFunctions in its implementation part.
Maybe your version already has that removed but the package downloaded definitely has it.
Anyway, I tried and find that that uses is not needed and after I remove the uses, all package compiled fine.
Thanks again for your kind help.
-
AndreyZ
Many of our users have already installed MyDAC 7.1.3 from the source code wihout any problems. We thoroughly checked this question. The CRFunctions unit in the USES clause of the DacGui.inc unit doesn't cause the problem you encountered. This problem can be caused only by old MyDAC files. Please check if the steps I wrote in my previous post solve the problem.
Thanks and you are right.
Though I can install successfully with deleting the bpls and removing the uses. I added a property to TMyDump (To input exclude table list instead of TableNames to Include tables as we keep adding new tables and only a few table need to be excluded from list) and re-compile all MyDAC Packages.
It work in code but it do not show up in the property editor. So I follow your instructions to delete all relevant files and re-install (with the uses statement in the DacGui.inc)
As you describe, it installed well and the new property show up properly.
Thanks again for your kind help.
Though I can install successfully with deleting the bpls and removing the uses. I added a property to TMyDump (To input exclude table list instead of TableNames to Include tables as we keep adding new tables and only a few table need to be excluded from list) and re-compile all MyDAC Packages.
It work in code but it do not show up in the property editor. So I follow your instructions to delete all relevant files and re-install (with the uses statement in the DacGui.inc)
As you describe, it installed well and the new property show up properly.
Thanks again for your kind help.
-
AndreyZ