Could not compile used unit 'DBXDevartSQLServer.pas'

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for SQL Server in Delphi and C++Builder
Post Reply
alwillis1357
Posts: 9
Joined: Tue 14 Oct 2008 14:17

Could not compile used unit 'DBXDevartSQLServer.pas'

Post by alwillis1357 » Fri 03 Jun 2016 12:27

I have Delphi 10.1 Berlin. I just purchased the 7.2.4 version of the dbExpress MSSQL driver. 32-bit application, Windows 7.

After selecting "Devart SQL Server" as the driver in a TSQLConnection, DBXDevartSQLServer is placed in the uses clause of my IMMain_dmu.pas unit. When I compile I get the error:

[dcc32 Fatal Error] IMMain_dmu.pas(9): F2063 Could not compile used unit 'DBXDevartSQLServer.pas'

I have the path "C:\Program Files (x86)\Devart724\Dbx\SqlServer\Lib\Delphi24\Win32" in both my Library Path and Browsing path. DBXDevartSQLServer.dcu is in that path.

I saw a post in another forum that says an error like this usually means that the dcu was compiled with a different version Delphi.

I should have ordered the source files but didn't. Can I get the correct DCU?

alwillis1357
Posts: 9
Joined: Tue 14 Oct 2008 14:17

Re: Could not compile used unit 'DBXDevartSQLServer.pas'

Post by alwillis1357 » Fri 03 Jun 2016 15:26

Disregard. There was an older .dcu in in another directory in the search path.

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: Could not compile used unit 'DBXDevartSQLServer.pas'

Post by MaximG » Mon 06 Jun 2016 14:57

We are glad to see the problem resolved. Please don't hesitate to contact us with questions concerning dbExpress Driver for SQL Server usage.

Post Reply