Page 1 of 1

E2202 Required package 'dcldbxsda120' not found

Posted: Sun 24 Oct 2010 16:24
by C.F.Holm
After upgrading my subscription I downloaded the newest driver "dbxsda475.exe" and now I have problems compiling one of my own packages containing reference to "DBXDevartSQLServer" - I get the following error! (And as I don't have the .dcp file I am stuck)

Add dcldbxsda120.
dcldbxsda120 contains implicit unit(s) DBXDevartSQLServer.


This was not a problem with "dbxsda445.exe" - everything worked fine.

What can I do to get my upgraded driver working???

thanks
Christian

Posted: Mon 25 Oct 2010 13:44
by AndreyZ
Hello,

Please check that you have the \Source string in Library Path of your IDE.

Posted: Mon 25 Oct 2010 19:35
by C.F.Holm
Ok - this path has been part of my IDE library for the last year, and is still so...

I am trying to compile and install one of my own packages and now it wants implicitly to import the dcldbxsda120 package which it cannot find - and I dont have a .dcp file that could help me...

So it's not an issue of not having path to the source - sorry...

Please help me - right now I am stuck with my old drivers that compiles fine without implicitly importing (or wanting to) the dcldbxsda120

/C[/img]

Posted: Tue 26 Oct 2010 09:07
by AndreyZ
You can find dcldbxsda120.bpl in the $(BDS)\Bin directory.

Posted: Tue 26 Oct 2010 10:14
by C.F.Holm
I am sorry, but you are missing the point. The bpl file is not going to help - the error I get i E2202 and below is embarcadero says about it...

E2202: Required package '%s' not found (Delphi)The package, which is referenced in the message, appears on the package list, either explicitly or through a requires clause of another unit appearing on the package list, but cannot be found by the compiler.

The solution to this problem is to ensure that the DCP file for the named package is in one of the units named in the library path.

(Please not it's dcp file which it requires - and that I don't have)

This is only a problem when you try to use "DBXDevartSQLServer" unit in a package... I can reinstall my previous version of the driver and make no changes whatsoever and it compiles... So something is not right in the latest driver distribution. Maybe it's only related to D2009 I don't know.

Thanks in advance
Christian

Posted: Thu 28 Oct 2010 11:44
by AndreyZ
I cannot reproduce the problem. Please try to compose a small sample to demonstrate the problem and send it to andreyz*devart*com.

Posted: Mon 01 Nov 2010 09:24
by Antonickel
AndreyZ wrote:I cannot reproduce the problem. Please try to compose a small sample to demonstrate the problem and send it to andreyz*devart*com.
I'm sorry AndreyZ, but your answer didn't match with the request. C.F. Holm is talking about a file that's not found when compiling a project.
Delphi looks for a file named dcldbxsda120.DCP which isn't found !
This file must be generated when installing the driver or compiling dbExpress project.
I HAVE THE SAME PROBLEM WHEN USING THIS DRIVER WITH DELPHI RAD XE : the file dcldbxsda150.DCP can't be found.
So can U tell us where to find it ?
Thank U

Posted: Mon 01 Nov 2010 16:43
by Dimon
dcldbxsda120 is a design-time package. It allows you to select and use Devart SQL Server driver in Delphi IDE.
This package couldn't be included in your projects. If you need to include the DBXDevartSQLServer unit to your project, only declare this unit and don't add the dcldbxsda120 package.

Posted: Mon 01 Nov 2010 17:02
by Antonickel
Dimon wrote:dcldbxsda120 is a design-time package. It allows you to select and use Devart SQL Server driver in Delphi IDE.
This package couldn't be included in your projects. If you need to include the DBXDevartSQLServer unit to your project, only declare this unit and don't add the dcldbxsda120 package.
Thank U Dimon for your explanation.
I must tell you that it's the first time I'm using the Delphi RAD XE version and I downloaded for now the trial of DbExpress.

I try to migrate my project (using DBExpress) from D7 to RAD XE.

In the uses clauses of my units, I replaced "DbXpress" by DBXDevartSQLServer, DBXDevartOracle, DbxDevartMySql.

After compiling, Delphi needs to add in the require clause the 3 dcp "dcldbxsda150, dcldbxoda150, dcldbxmda150".

Perhaps, something is wrong in my using of the dbExpress library .... !

Posted: Tue 02 Nov 2010 11:28
by Dimon
Please send your project to demonstrate the problem to dmitryg*devart*com.